|
-
Dec 12th, 1999, 10:30 PM
#1
Thread Starter
PowerPoster
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 
-
Dec 12th, 1999, 11:43 PM
#2
Lively Member
Yes, try this:
appactivate "Calculator" 'This is what is in the title bar
sendkeys "{ALT}+{F4}"
I belive this should work.
-
Dec 13th, 1999, 07:55 AM
#3
Thread Starter
PowerPoster
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 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|