Roly Posted May 19, 2010 Posted May 19, 2010 I tried to help user to choose proccess before run the program. When I run the button, the program seems like freeze Please help! $TheList = GUICtrlCreateCombo("", 150, 160, 70) $ListPro = ProcessList("game.exe") $TheAOL = "" $ProccessID = "" If $ListPro[0][0] > 0 Then For $i = 1 to $ListPro[0][0] + 1 If $i = $ListPro[0][0] + 1 Then ExitLoop Else $TheAOL &= $ListPro[$i][1] & "|" $i = $i + 1 EndIf Next GUICtrlSetData($TheList, $ListPro, '') $ProccessID = GUICtrlRead(-1) Else MsgBox(0, "Warning!", "The Game is not Workin!!!") EndIf $GameID = _MemoryOpen($ProccessID) If I use this, it work but for all the windows of game.exe: $ProccessID = ProcessExists("game.exe") $GameID = _MemoryOpen($ProccessID)
notsure Posted May 19, 2010 Posted May 19, 2010 You shouldn't expect too much replies as described by THIS topic.
Roly Posted May 19, 2010 Author Posted May 19, 2010 Thanks for reply. I just think not show the game name is ok. I'm new here, sorry about that and I'll try other way!
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