Sign in to follow this  
Followers 0
McDope

Checking for hidden process

7 posts in this topic

Hi,

i need to check if a process is runing...

so far so good but this process hides itself, i cant see it in the processes-tab of taskman and also if i check in my script it will not be found.

then i tried to check for the window (SRO_Client is the window title, CLIENT the class) but this is also not found.

is there someway to detect if the process or the window is existing?

--McDope--

(sry for my english :D )


Share this post


Link to post
Share on other sites



well you dont need the window title as long as its the active one why not just do a WinKill('') and i didnt think it was SRO_Client but SRO Client :D

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

i dont wont to kill it, i just want to check if the process (or the window) exist...

and it is SRO_Client, it stands so in the taskbar and WindowInfo said the same :D

Edited by McDope

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

i dont wont to kill it, i just want to check if the process (or the window) exist...

and it is SRO_Client, it stands so in the taskbar and WindowInfo said the same :D

Is that the window Title or the Class?

Edit:

Oops, CLIENT, I see:

$GetWin = _WinExistsHiddenExe('CLIENT')
If $GetWin Then MsgBox(64, 'Info:', 'Window Name: ' & $GetWin & ' Exists')

Func _WinExistsHiddenExe($sClass)
    $OptWTMM = Opt('WinTitleMatchMode', 4)
    Local $sWinTitle = WinGetTitle('classname=' & $sClass)
    Opt('WinTitleMatchMode', $OptWTMM)
    If WinExists($sWinTitle) Then Return $sWinTitle
    Return 0
EndFunc
Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

ill go check it out at my neighbors tommorow since i deleted silkroad but he still has it installed :D ull just have to wait

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

i just build it in and tested...

it works fine :D

many thx to you, btw: which server are you gaming on? ^^

ps: i need this for a lil restarter. im playing on oasis-server, there often happens that game will kick you out with "Disconnected to Server" Message if the server is to full. i dont like this crazy clicking around 10million times to login in :D

EDIT: hmm, to bad. filling in the fields for name/pw with Send dont work, and i dont know the control id (WindowInfo dont show it)... any hints or should i say goodbye to the idea for an autologin?

Edited by McDope

Share this post


Link to post
Share on other sites

i quit but i was on zion ( think that was it) was a level 30-40 sumtin forget though so long ago

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