soifsauce Posted August 9, 2009 Share Posted August 9, 2009 (edited) Hey guys im new to autoit started tonight and i just made this, what im trying to do is make the input boxes type what i put in once i hit the hotkey. when i run it nothing happens though doesnt type or anything what am i doing wrong >_< keep in mind im a noob so lol expandcollapse popup#include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $weg0t = GUICreate("weg0t", 291, 103, 192, 124) $Name = GUICtrlCreateInput("Account Name", 24, 8, 241, 21) $Accountpw = GUICtrlCreateInput("Account password", 24, 40, 241, 21) $Newpw = GUICtrlCreateInput("New account password", 24, 72, 241, 21) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd HotKeySet("{LALT}", "UP") HotKeySet("{F2}", "PNP") HotKeySet("{F3}", "close") While 1 Sleep(1000) WEnd Func UP() send("$Name") send("{TAB}") send("& $Accountpw") EndFunc Func PNP() Send("$Accountpw") send("{TAB}") Send("$Newpw") Send("{TAB}") send("$Newpw") EndFunc Func close() Exit EndFunc Edited August 9, 2009 by soifsauce Link to comment Share on other sites More sharing options...
WolfWorld Posted August 9, 2009 Share Posted August 9, 2009 $Accountpw = InputBox("Account password", '') $Newpw = InputBox("New account password", '') HotKeySet("{LALT}", "UP") HotKeySet("{F2}", "PNP") HotKeySet("{F3}", "close") While 1 Sleep(1000) WEnd Func UP() send("$Name") send("{TAB}") send("& $Accountpw") EndFunc Func PNP() Send("$Accountpw") send("{TAB}") Send("$Newpw") Send("{TAB}") send("$Newpw") EndFunc Func close() Exit EndFunc Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
soifsauce Posted August 9, 2009 Author Share Posted August 9, 2009 $Accountpw = InputBox("Account password", '') $Newpw = InputBox("New account password", '') HotKeySet("{LALT}", "UP") HotKeySet("{F2}", "PNP") HotKeySet("{F3}", "close") While 1 Sleep(1000) WEnd Func UP() send("$Name") send("{TAB}") send("& $Accountpw") EndFunc Func PNP() Send("$Accountpw") send("{TAB}") Send("$Newpw") Send("{TAB}") send("$Newpw") EndFunc Func close() Exit EndFunc Wow thank you i over complicated it way to much xD thanks for the help Link to comment Share on other sites More sharing options...
WolfWorld Posted August 9, 2009 Share Posted August 9, 2009 Wow thank you i over complicated it way to much xD thanks for the helpYou are welcome. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! 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