Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

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.

Posted

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!!.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...