GrAaL Posted April 20, 2006 Share Posted April 20, 2006 Hi, I've build an autoit script that run when two softwares are runnning at the same time by the same user ( we use W2K3 with anonymous user) but it seems that every anonymous's process are return when using the ProcessExist function. So, there 'is a problem when one user launch the first app then a second user launch the other. Is there a way to check if "ProcessExist" only for this user, except by running a little cmd command ... Thanks Yann Link to comment Share on other sites More sharing options...
Valuater Posted April 20, 2006 Share Posted April 20, 2006 (edited) not tested $user = @UserName While 1 If ProcessExists("my-process.exe") Then If @UserName <> $user Then MsgBox(64," Process found", "the user is different ") EndIf Sleep(200) WEnd 8) Edited April 20, 2006 by Valuater Link to comment Share on other sites More sharing options...
Danny35d Posted April 20, 2006 Share Posted April 20, 2006 Take a look to this Link it may help you. AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now