Jump to content

memory pointer read/write help


Recommended Posts

hey guys i want to learn how to use autoit to make trainers 4 games i have used MHS to get the addresses and it has pointers so i just wanted to know how to add them into autoit with a option to freeze and to change the value can this bee done? this is the address i have [[[[0x00460C20]+0xC]+0x14]+0x0]+0x18 so can some 1 please help me i have worked out how to make a dialog window with buttons and picture i just need to work out how to add this to a button so when clicked or hotkey it will freeze and change the value it would mean heaps if some 1 could help me thanks somuch 4 your time guys.

Link to comment
Share on other sites

i just need to work out how to add this to a button so when clicked or hotkey it will freeze and change the value it would mean heaps if some 1 could help me thanks somuch 4 your time guys.

Hi, you could see the gui functions in helpfile to check how a function can be executed when a button is clicked:

From help file:

#include <GUIConstantsEx.au3>

Opt('MustDeclareVars', 1)

Example()

Func Example()
    Local $Button_1, $Button_2, $msg
    GUICreate("My GUI Button") ; will create a dialog box that when displayed is centered

    Opt("GUICoordMode", 2)
    $Button_1 = GUICtrlCreateButton("Run Notepad", 10, 30, 100)
    $Button_2 = GUICtrlCreateButton("Button Test", 0, -1)

    GUISetState()      ; will display an  dialog box with 2 button

    ; Run the GUI until the dialog is closed
    While 1
        $msg = GUIGetMsg()
        Select
            Case $msg = $GUI_EVENT_CLOSE
                ExitLoop
            Case $msg = $Button_1
                Run('Notepad.exe')    ; Will Run/Open Notepad
            Case $msg = $Button_2
                MsgBox(0, 'Testing', 'Button 2 was pressed')    ; Will demonstrate Button 2 being pressed
        EndSelect
    WEnd
EndFunc   ;==>Example

Check _hotkeyset() in helpfile..

Edited by Manjish
[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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