enneract Posted July 19, 2010 Share Posted July 19, 2010 Another hook-related problem... Looking for a method to run a script when a particular process is terminated, other than periodically polling for the presence of that process or window. I can't imagine that I'm the first person to want to do this, so either I fail at searching, or it can't be done. Hoping for the former. Link to comment Share on other sites More sharing options...
Malkey Posted July 19, 2010 Share Posted July 19, 2010 Try this. OnAutoItExitRegister("MyTestFunc") RunWait ("Notepad.exe") ; The process Func MyTestFunc() MsgBox(64, "Exit Results 1", 'Exit Message from MyTestFunc()') EndFunc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now