Spyder25000 Posted March 24, 2007 Share Posted March 24, 2007 okay how do i make a GUI with a inut box not popup! that will send what they have writen eg here is my code: iexpandcollapse popup; AutoIt 3.0.103 example ; 17 Jan 2005 - CyberSlug ; This script shows manual positioning of all controls; ; there are much better methods of positioning... #include <GuiConstants.au3> ; GUI GuiCreate("Win Utilitys", 325, 400) GuiSetIcon("WinUtilitys.exe") $Button_1 = GUICtrlCreateButton ("Delete the Wireless Policy", 0, 0, 225) $Button_3 = GUICtrlCreateButton ("Change Admin password to original", 0, 30, 225) $Button_2 = GUICtrlCreateButton ("Change Admin password", 0, 120, 225) $var = GUICtrlCreateInput ("", 0, 90, 225) GUICtrlCreateLabel ("Change the Admin's password to what you put in box", 0, 70) GUICtrlRead($var) ; MENU GuiCtrlCreateMenu("File") GUISetState () While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_1 RegDelete ("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Wireless") ; Delte Reg Case $msg = $Button_2 Run ("cmd.exe") ; Cmd open Sleep (1000) Send ("Net User Administrator *{ENTER}") MsgBox ( 64, "", "Administrator's Password is ,$var") Case $msg = $Button_3 Run ("cmd.exe") ; Cmd open Sleep (1000) Send ("Net User Administrator *{ENTER}") Sleep (500) Send ("deltakilo{Enter}") Sleep (500) Send ("deltakilo{Enter}") MsgBox ( 64, "Password set", "Password is now Normal, deltakilo") EndSelect Wend ; GUI MESSAGE LOOP GuiSetState() While GuiGetMsg() <> $GUI_EVENT_CLOSE WEnd if you see it will delte a policy that on my school laptop will enable me 2 make a wireless network and the 2nd option will make the admin password Deltakilo and the 3 rd option has a input box which i want to send what they have put in the input area into the cmd after it writes in "net user Administrator * Link to comment Share on other sites More sharing options...
Spyder25000 Posted March 24, 2007 Author Share Posted March 24, 2007 while i am here how do i loop a MsgBox for ever Link to comment Share on other sites More sharing options...
Spyder25000 Posted March 25, 2007 Author Share Posted March 25, 2007 Thanks but how do i send down the Var for the password? Case $msg = $Button_2 Run ("cmd.exe") ; Cmd open Sleep (10) Send ("Net User Administrator *{ENTER}") Sleep (10) Send ("send down Var") Sleep (10) Send ("send down Var") MsgBox ( 64, "", "Administrator's Password is "& GUICtrlRead($var)) i want the var to send down where it says send down Var thanks Link to comment Share on other sites More sharing options...
Spyder25000 Posted March 25, 2007 Author Share Posted March 25, 2007 Thanks but how do i send down the Var for the password? Case $msg = $Button_2 Run ("cmd.exe") ; Cmd open Sleep (10) Send ("Net User Administrator *{ENTER}") Sleep (10) Send ("send down Var") Sleep (10) Send ("send down Var") MsgBox ( 64, "", "Administrator's Password is "& GUICtrlRead($var)) i want the var to send down where it says send down Var thanks Never mind i solved it. New porblem's 1) how do i set a picture which is in windir on every Windows computer as my GUI's backround 2) how do i close PROCESS (have look in taskmanger) I am noob, i am new to AUTOIT used to use AUT0H0TKEY and i though that was awsome and i was botting for a game and saw it was made with Auto it and i downloaded it and said WOW this is 10x better Keep up good work Link to comment Share on other sites More sharing options...
Spyder25000 Posted March 25, 2007 Author Share Posted March 25, 2007 2) solved i got new 1's 3) how do i write stuff to a file? (.ini or .txt) i want it to show what they have been changing the password to the var for it is var1 4) 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