Hi
Does anyone know how to stop execution of another program. For example, can I get my app to stop the user from running Calculator?
Much appreciated
Regards,
------------------
- Chris
[email protected]
If it ain't broke - don't fix it :)
Printable View
Hi
Does anyone know how to stop execution of another program. For example, can I get my app to stop the user from running Calculator?
Much appreciated
Regards,
------------------
- Chris
[email protected]
If it ain't broke - don't fix it :)
Yes, try this:
appactivate "Calculator" 'This is what is in the title bar
sendkeys "{ALT}+{F4}"
I belive this should work.
Thank you, I shall give it a try. Does this require a timer to constantly check for the existence of Calculator though? Is there not a "cleaner" method, using API I'm sure (API can do everything!)
Thanks
Regards,
------------------
- Chris
[email protected]
If it ain't broke - don't fix it :)