I want to make it so when my program gets closed, it automatically closes another program.
How would I do that?
Thanks in advance.
Printable View
I want to make it so when my program gets closed, it automatically closes another program.
How would I do that?
Thanks in advance.
What is "another program" - some random program that's currently running or some other app of yours?Quote:
Originally Posted by JoshA56
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)
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.
Thanks, this helped alot.