| |
ebgreen
Posts: 5246
Score: 31
Joined: 7/12/2005
Status: online
|
Doing what you want is very process dependant. For some processes, the application exposes an API that you can run code against to shut down the application in a nice safe fashion (i.e. MS Word). For others you would need to grab the application's window and use sendkeys to shut it down using the aplication's GUI. For still other applications, there is no window to grab and you have no choice but to simpl kill the process.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|