NCR Posted December 26, 2005 Share Posted December 26, 2005 hello. im spanish and my english es ugly...sorry... i need ability a button in a autoit program with gui...what tools i need?.thanks. Link to comment Share on other sites More sharing options...
Zedna Posted December 26, 2005 Share Posted December 26, 2005 Look into Helpfile at function GUICtrlCreateButton :#include <GUIConstants.au3> GUICreate("My GUI Button") Opt("GUICoordMode",2) $btn_ok = GUICtrlCreateButton ("OK", 10, 30, 50) $btn_cancel = GUICtrlCreateButton ( "Cancel", 0, -1) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop If $msg = $btn_ok Then MsgBox(0,'Info','OK clicked.') If $msg = $btn_cancel Then MsgBox(0,'Info','Cancel clicked.') WendOr you can use visual tool KODA Form designerhttp://www.autoitscript.com/forum/index.php?showtopic=17567 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
NCR Posted December 26, 2005 Author Share Posted December 26, 2005 Look into Helpfile at function GUICtrlCreateButton : #include <GUIConstants.au3> GUICreate("My GUI Button") Opt("GUICoordMode",2) $btn_ok = GUICtrlCreateButton ("OK", 10, 30, 50) $btn_cancel = GUICtrlCreateButton ( "Cancel", 0, -1) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop If $msg = $btn_ok Then MsgBox(0,'Info','OK clicked.') If $msg = $btn_cancel Then MsgBox(0,'Info','Cancel clicked.') Wend Or you can use visual tool KODA Form designer http://www.autoitscript.com/forum/index.php?showtopic=17567 oks. thanks. i will try and then i will tell you if work. Link to comment Share on other sites More sharing options...
NCR Posted December 26, 2005 Author Share Posted December 26, 2005 well....didnt work....i have a exe and i need to decompile it to edit the form...or a tool to ability the button permanently....koda didnt work....because the file is a exe. any other ideas?. bye!!. Link to comment Share on other sites More sharing options...
Zedna Posted December 26, 2005 Share Posted December 26, 2005 well....didnt work....i have a exe and i need to decompile it to edit the form...or a tool to ability the button permanently....koda didnt work....because the file is a exe. any other ideas?.bye!!.If you want control Buttons in other application then use ControlClickand AU3Info.exe to find right title, text, classname. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
NCR Posted December 26, 2005 Author Share Posted December 26, 2005 well i have all info about the button but i need ability te button from a dbg...ollydbg, how i find the 'hot zone'???????...i have the classname, id, etc but a want to abillity permanetly....i try to decompile it with exetoautoit but the project has a password an error ocurred when the projects is decompile it.... thanks. see you. Link to comment Share on other sites More sharing options...
NCR Posted December 27, 2005 Author Share Posted December 27, 2005 now, i will send you a tut that explain all i say in my message...thanks for all your help. bytes!. Link to comment Share on other sites More sharing options...
NCR Posted December 27, 2005 Author Share Posted December 27, 2005 here's the tutorial...http://www.mytempdir.com/345835good bye!. 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