Jump to content

Recommended Posts

Posted (edited)

$Edit1 = GUICtrlCreateEdit("test", 3, 3, 634, 474, 0,0)
_GUICtrlEdit_SetSel($Edit1,0,0)

This should set sel 0,0 but for some reason it dont. I wonder what causes this.

#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GUIEDIT.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 640, 480, 0, 0)
$Edit1 = GUICtrlCreateEdit("test", 3, 3, 634, 474, 0,0)
_GUICtrlEdit_SetSel($Edit1,0,0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

And why i select all default for edit control? In C# or C++ I dont have select all as default for edit, it's only with autoit.

Edited by E1M1

edited

Posted

Gah that's strange, isnt there better method? probably I have to "find out what writes to this address" and then write pure memory based patch ;)

edited

Posted

Gah that's strange, isnt there better method? probably I have to "find out what writes to this address" and then write pure memory based patch ;)

it seems like taking the suggestion and moving the one line of code would be easier?
Posted

Gah that's strange, isnt there better method? probably I have to "find out what writes to this address" and then write pure memory based patch :)

Yes, I almost got autoit3.exe patched with "olly dbg" ;) Just thought it would be good excuse to practise it :P

Is that meant to be pure gibberish? It made no sense to me at all.

;)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

Is that meant to be pure gibberish? It made no sense to me at all.

;)

they was trying to suggest that they could change the behavior by patching the executable using a hex editor/run time debugger.

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