Jump to content

Recommended Posts

Posted

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
Posted

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!

Posted

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.

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
  • Recently Browsing   0 members

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