Jump to content
Sign in to follow this  
SuperNatural

Help with script

Recommended Posts

ControlClick ( "Setup - Cheat Engine 5.6.1", "", "&Next" )

verify with auto window info for the "NEXT" button ! Posted Image

And please read the helpfile or use the forum search, there is lot of examples !


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

ok, I'll read but just help me please with this last question..

And.. it won't work:

Run ( "Cheat Engine 5.6.exe" )

WinWaitActive("Setup - Cheat Engine 5.6", "&Next >")

ControlClick ( "Setup - Cheat Engine 5.6", "6292756", "&Next" )

............................................................Control ID^^

Edited by SuperNatural

Share this post


Link to post
Share on other sites

Like AlmarM said, if you use AutoIt Macro Generator, it give this :

;--- AutoIt Macro Generator V 0.21 beta ---
Opt("WinTitleMatchMode", 4)
WinWait("Setup - Cheat Engine 5.6.1","This will install Cheat Engine")
ControlClick("Setup - Cheat Engine 5.6.1","This will install Cheat Engine","TNewButton1")
WinWait("Setup - Cheat Engine 5.6.1","Please read the following impo")
ControlClick("Setup - Cheat Engine 5.6.1","Please read the following impo","TNewRadioButton1")
ControlClick("Setup - Cheat Engine 5.6.1","Please read the following impo","TNewButton2")
WinWait("Setup - Cheat Engine 5.6.1","Where should Cheat Engine 5.6.")
ControlClick("Setup - Cheat Engine 5.6.1","Where should Cheat Engine 5.6.","TNewButton3")
WinWait("Setup - Cheat Engine 5.6.1","Where should Setup place the p")
ControlClick("Setup - Cheat Engine 5.6.1","Where should Setup place the p","TNewButton4")
WinWait("Setup - Cheat Engine 5.6.1","Which additional tasks should ")
ControlClick("Setup - Cheat Engine 5.6.1","Which additional tasks should ","TNewButton4")
WinWait("Setup - Cheat Engine 5.6.1","Recommandé par Cheat Engine")                                            ;
ControlClick("Setup - Cheat Engine 5.6.1","Recommandé par Cheat Engine","TNewNotebookPage2") ; replace "Recommandé par Cheat Engine" by your language
ControlClick("Setup - Cheat Engine 5.6.1","Recommandé par Cheat Engine","TNewButton4")              ; 
WinWait("Setup - Cheat Engine 5.6.1","Setup is now ready to begin in")
ControlClick("Setup - Cheat Engine 5.6.1","Setup is now ready to begin in","TNewButton4")
WinWait("Setup - Cheat Engine 5.6.1","Information")
ControlClick("Setup - Cheat Engine 5.6.1","Information","TNewButton4")
WinWait("Setup - Cheat Engine 5.6.1","Setup has finished installing ")
ControlClick("Setup - Cheat Engine 5.6.1","Setup has finished installing ","TNewCheckListBox1")
ControlClick("Setup - Cheat Engine 5.6.1","Setup has finished installing ","TNewButton4")

for that run "C:\Program Files\AutoIt3\SciTE\AutoItMacroGenerator\AutoItMacroGenerator02.exe" Posted Image

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

The script for Cheat Engine 5.6.1 ?

And can you explain me when you finish how to make script like this please?

And last last question: can you give me the full syntax for cheat engine 5.6.1 for exmaple how to UnCheck the checkbox in the finish window?

Thank you a lot! ;)

Share this post


Link to post
Share on other sites

Opt("MouseCoordMode", 0)

HotKeySet("{ESC}", "_Exit")

MsgBox(0, "", "Click 'OK' to start.")

Global $sTitle = WinGetTitle("Setup - Cheat")
Global $iSpeed = 10

Check("Welcome to the Cheat Engine 5.6.1 Setup Wizard")
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewButton; INSTANCE:1]")
MouseClick("left", $aPos[0] + 30, $aPos[0] + 30, 1, $iSpeed)
Check("License Agreement")
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewRadioButton; INSTANCE:1]")
MouseClick("left", $aPos[0] + 30, $aPos[1] + 30, 1, $iSpeed)
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewButton; INSTANCE:2]")
MouseClick("left", $aPos[0] + 30, $aPos[0] + 30, 1, $iSpeed)
Check("Select Destination Location")
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewButton; INSTANCE:3]")
MouseClick("left", $aPos[0] + 30, $aPos[0] + 30, 1, $iSpeed)
Check("Select Start Menu Folder")
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewButton; INSTANCE:4]")
MouseClick("left", $aPos[0] + 30, $aPos[0] + 30, 1, $iSpeed)
Check("Select Additional Tasks")
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewButton; INSTANCE:4]")
MouseClick("left", $aPos[0] + 30, $aPos[0] + 30, 1, $iSpeed)
Check("RegistryBooster installeren")
MouseClick("left", 110, 275, 1, $iSpeed)
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewButton; INSTANCE:4]")
MouseClick("left", $aPos[0] + 30, $aPos[0] + 30, 1, $iSpeed)
Check("Ready to Install")
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewButton; INSTANCE:4]")
MouseClick("left", $aPos[0] + 30, $aPos[0] + 30, 1, $iSpeed)
Check("Information")
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewButton; INSTANCE:4]")
MouseClick("left", $aPos[0] + 30, $aPos[0] + 30, 1, $iSpeed)
Check("Completing the Cheat Engine 5.6.1 Setup Wizard")
$aPos = ControlGetPos($sTitle, "", "[CLASS:TNewButton; INSTANCE:4]")
MouseClick("left", $aPos[0] + 30, $aPos[0] + 30, 1, $iSpeed)

Func Check($sText)
    If Not WinActive($sTitle, $sText) Then WinActivate($sTitle, $sText)
    WinWaitActive($sTitle, $sText)
EndFunc

Func _Exit()
    Exit
EndFunc

Read this, and learn. Hope this is what you need. ;)


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

First start Cheat Engine, then run script and press OK.

Try editing it so it works for you, I can't figure out whats wrong from here. ;)


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

Ok, I'll try it more few minutes ;)

But I have another question..

I saw someone made an auto install, which there is an install, and I just need to double click on it and the auto install will start.

So my question.. how can I do that too? I mean, to combine the script into install? without need to click the script before .. without to see the script?

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...