behdadsoft Posted January 21, 2014 Share Posted January 21, 2014 (edited) Hi. I want wrote a script that after Install any software auto check that the software is running then close automaticaly it. but I don't Know how can check software is running.there is any function for this work? Please Guide Me. Edited January 21, 2014 by behdadsoft Link to comment Share on other sites More sharing options...
JohnOne Posted January 21, 2014 Share Posted January 21, 2014 ProcessExists() AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
behdadsoft Posted January 21, 2014 Author Share Posted January 21, 2014 ProcessExists() I know. In ProcessExist() Function should add the name of Running Program. I want Automaticaly Check the latest running Program after Installed Software. Link to comment Share on other sites More sharing options...
JohnOne Posted January 21, 2014 Share Posted January 21, 2014 $before = ProcessList() ;Run software $after = ProcessList() ;Check $after array for values not in $before. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
mikell Posted January 21, 2014 Share Posted January 21, 2014 $aP = ProcessList() MsgBox(0,"", $aP[$aP[0][0]-1][0]) ? 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