epicfail Posted August 28, 2009 Author Share Posted August 28, 2009 i have it fully working i just said that i have the problem with not been able to use the gui whileits waiting 4 the process Link to comment Share on other sites More sharing options...
jvanegmond Posted August 28, 2009 Share Posted August 28, 2009 I see why your name is 'epic fail'. github.com/jvanegmond Link to comment Share on other sites More sharing options...
epicfail Posted August 28, 2009 Author Share Posted August 28, 2009 well im trying to learn u have to start somewhere u know thats why im on the forum to ask 4 help cos i dont know how to do this. Link to comment Share on other sites More sharing options...
jvanegmond Posted August 28, 2009 Share Posted August 28, 2009 Most people understand after being explained in 10 different ways. I also asked you to provide a full working script that reproduces the issue. Don't just paste your own script and expect help. github.com/jvanegmond Link to comment Share on other sites More sharing options...
epicfail Posted August 28, 2009 Author Share Posted August 28, 2009 if i had a full working script i wouldnt have any probs so i wouldnt need to ask 4 help Link to comment Share on other sites More sharing options...
jvanegmond Posted August 28, 2009 Share Posted August 28, 2009 You're a downright idiot and you totally don't deserve this. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $hWnd = GUICreate("Epic fail") $startscan = GUICtrlCreateButton("Begin scanning for notepad.exe", 10, 10) GUISetState() Dim $scan = False While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit Case $startscan $scan = True GUICtrlSetState($startscan, $GUI_DISABLE) EndSwitch If ($scan And ProcessExists("notepad.exe")) Then $scan = False GUICtrlSetState($startscan, $GUI_ENABLE) MsgBox(0, "","Bingo! Injecting the code! :D:D") EndIf WEnd github.com/jvanegmond Link to comment Share on other sites More sharing options...
epicfail Posted August 28, 2009 Author Share Posted August 28, 2009 ty u helped me heaps i will give it ago Link to comment Share on other sites More sharing options...
Bert Posted August 28, 2009 Share Posted August 28, 2009 AutoIt is a single thread app. When you use processwait, the script will pause until the process exist. Do you see the word "WAIT" in the command??? If you do not understand what the word "Wait" means, learn to use a dictionary. What ever you do, don't complain that you want it anyway and ask again to get someone to get it to work. Keep this crap up and surly as the sun will come up in the morning a moderator will take a giant dump on you. Now cut the bullshit and do what the other coders suggested. If you feel that everyone is wrong, then just do everyone a favor and stop annoying us. geeze. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Bert Posted August 28, 2009 Share Posted August 28, 2009 You're a downright idiot and you totally don't deserve this. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $hWnd = GUICreate("Epic fail") $startscan = GUICtrlCreateButton("Begin scanning for notepad.exe", 10, 10) GUISetState() Dim $scan = False While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit Case $startscan $scan = True GUICtrlSetState($startscan, $GUI_DISABLE) EndSwitch If ($scan And ProcessExists("notepad.exe")) Then $scan = False GUICtrlSetState($startscan, $GUI_ENABLE) MsgBox(0, "","Bingo! Injecting the code! :D:D") EndIf WEnd I woulnd't have done it. The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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