Jump to content

ProcessClose not working compiled


Recommended Posts

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.

Link to comment
Share on other sites

  • Moderators

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!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...