Jun 15th, 2008, 02:38 PM
#1
Thread Starter
Lively Member
Process Question
I want to make it so when my program gets closed, it automatically closes another program.
How would I do that?
Thanks in advance.
Jun 15th, 2008, 02:41 PM
#2
Re: Process Question
Originally Posted by
JoshA56
... when my program gets closed, it automatically closes another program...
What is "another program" - some random program that's currently running or some other app of yours?
Jun 15th, 2008, 02:42 PM
#3
Thread Starter
Lively Member
Re: Process Question
Woah, very fast response!
Sorry about being so unclear, let me give you an example:
My program is running, and if it gets closed, then I want AOL Instant Messenger to close with it (aim.exe)
Jun 15th, 2008, 06:23 PM
#4
Re: Process Question
You can try this example, its updated from a post I made here .
If the the titlebar caption of AIM.exe never changes then you should be able to just use the CloseByTitle module, and call the sub,... CloseProgram "aim title text here"
Note I don't have/use AIM.EXE so I couldn't test this on that specific file.
Attached Files
Last edited by Edgemeal; Jun 15th, 2008 at 06:33 PM .
Jun 15th, 2008, 08:00 PM
#5
Thread Starter
Lively Member
Re: Process Question
Thanks, this helped alot.
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