Sign in to follow this  
Followers 0
Dalarn

Problem with WinGetProcess

8 posts in this topic

#1 ·  Posted (edited)

...a...

Edited by Dalarn

Share this post


Link to post
Share on other sites



Works okay for me on Windows XP sp1.... Could you provide an example of the code you are trying to use?

Run("Calc")
WinWait("Calculator")
$pid = WinGetProcess("Calculator")
MsgBox(4096, "Error code = " & @error, "Calculator's process ID is " & $pid)
ProcessClose($pid)

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

...a...

Edited by Dalarn

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

...a...

Edited by Dalarn

Share this post


Link to post
Share on other sites

Is this the Unknown E Project?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

...a...

Edited by Dalarn

Share this post


Link to post
Share on other sites

[DUH]ProcessExists()[/DUH]


Who else would I be?

Share this post


Link to post
Share on other sites

Maybe you could use WinKill.

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