Sign in to follow this  
Followers 0
cad29

HELP IN MY PROGRAM

4 posts in this topic

Hi i need help in my program i have a program name cad.exe and once you click that it goes into the system try but i want to add something on it that once its running already and once you click the cad.exe again it will give you a message that the cad program is running already i tried this script but it doesnt work

If ProcessExists("CAD.EXE") Then

MsgBox(16,"DOW IMAC","DOW PROGRAM is running already " & @CRLF & "Please check the systemtray")

Exit

Else

CONTINUE()

ENDIF

but everytime i click the cad.exe it always says that my program is running even do its my first time to run that program thanks for your help in advanced

Share this post


Link to post
Share on other sites



You run your script, named "cad.exe" and you check if there's a process called "cad.exe"

running. Of course there is...it's the script's very own process !

Anyway, this question has been asked..oh, two, three or maybe four times before...

Check out this link : http://www.autoitscript.com/forum/index.ph...ult_type=topics

Share this post


Link to post
Share on other sites

Piccaso thanks for your help it work your the man :lmao:

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