BubbleGumDancer Posted September 13, 2010 Posted September 13, 2010 Run("C:\Program Files\Diablo II\Diablo II.exe -w -skiptobnet") Sleep(1000) WinWait("[CLASS:Diablo II]") Local $hWnd = WinGetHandle("[CLASS:Diablo II]") Local $sHWND = String($hWnd) ; Convert to a string WinSetState(HWnd($sHWND), "", @SW_MINIMIZE) Sleep(5000) ; should be minimized ControlSend($hwnd, "", "{TAB}Account{TAB}", "Password{ENTER}") ;ok sending account data to minimized window errr error error something is wrong ahhhhhh save me im dieing melting into ahhhh........ sleep(1000) WinClose(HWnd($sHWND)) i just want it to log in while minimized thats all im trying to do using control send If you were twice as smart, you'd still be stupid.
enaiman Posted September 13, 2010 Posted September 13, 2010 http://www.autoitscript.com/forum/index.php?showannouncement=12&f=2Something that might help you in this situation. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :)
BubbleGumDancer Posted September 14, 2010 Author Posted September 14, 2010 Run("Notepad.exe") Sleep(1000) WinWait("[CLASS:Notepad]") Local $hWnd = WinGetHandle("[CLASS:New Text Document]") Local $sHWND = String($hWnd) ; Convert to a string WinSetState(HWnd($sHWND), "", @SW_MINIMIZE) Sleep(5000) ; should be minimized ControlSend($hwnd, "", "{TAB}Account{TAB}", "Password{ENTER}") ;ok sending account data to minimized window errr error error something is wrong ahhhhhh save me im dieing melting into ahhhh........ Sleep(1000) WinClose(HWnd($sHWND)) If you were twice as smart, you'd still be stupid.
Valik Posted September 14, 2010 Posted September 14, 2010 Thread locked and a week ban. Thread locked for obvious reasons. Banned because you were rude to enaiman via PM when he pointed out your flagrant violation of forum policy. Believe it or not, you are not an exception to the rules. Goodbye.
Recommended Posts