Jump to content
Sign in to follow this  
THECARDNEXUS

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...