THECARDNEXUS Posted January 31, 2014 Posted January 31, 2014 So, I am trying to make a script that does a variety of things, but one it does is ProcessClose("Googledrivesync.exe") When I run this using SCITE with F5 the program kills Google Drive. When I run it compiled it fails to kill the script. This is all in Windows XP Sp3. Any ideas ? Thanks in advance.
Moderators JLogan3o13 Posted January 31, 2014 Moderators Posted January 31, 2014 First idea would be to put some error checking after your ProcessClose line: If @error then MsgBox(0, "", @error) The help file shows you what ProcessClose will set @error to if it fails. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
THECARDNEXUS Posted January 31, 2014 Author Posted January 31, 2014 Hi, thanks so much. Can't believe I forgot to use @error to check what was happening. Been focusing on learning C# lately and AU3 has been less on my mind lately. Thanks again.
ZacUSNYR Posted January 31, 2014 Posted January 31, 2014 If you right click, run as administrator, does it work?
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