Jump to content
Sign in to follow this  
GrAaL

Find Process Owner

Recommended Posts

GrAaL

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

Share this post


Link to post
Share on other sites
Valuater

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 by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
Danny35d

Take a look to this Link it may help you.


AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

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  

×