Sign in to follow this  
Followers 0
THECARDNEXUS

ProcessClose not working compiled

4 posts in this topic

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.


√-1 2^3 ∑ π, and it was delicious!

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

If you right click, run as administrator, does it work?

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  
Followers 0