wakillon Posted September 28, 2010 Share Posted September 28, 2010 ControlClick ( "Setup - Cheat Engine 5.6.1", "", "&Next" )verify with auto window info for the "NEXT" button ! And please read the helpfile or use the forum search, there is lot of examples ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
SuperNatural Posted September 28, 2010 Author Share Posted September 28, 2010 (edited) 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 September 28, 2010 by SuperNatural Link to comment Share on other sites More sharing options...
wakillon Posted September 28, 2010 Share Posted September 28, 2010 (edited) 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" Edited September 28, 2010 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
SuperNatural Posted September 28, 2010 Author Share Posted September 28, 2010 Thank's but I cant see the mouse clicks.. its same as the ENTER I did until now.. Check it by yourself if you want.. Link to comment Share on other sites More sharing options...
AlmarM Posted September 28, 2010 Share Posted September 28, 2010 You mean you want to see the animated mouse movement? 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. Link to comment Share on other sites More sharing options...
SuperNatural Posted September 28, 2010 Author Share Posted September 28, 2010 yeaa.. exactly.. I want to see auto clicks of the mouse... Like I click "next", but actually it clicks automaticlly.. got it? Link to comment Share on other sites More sharing options...
AlmarM Posted September 28, 2010 Share Posted September 28, 2010 I'm creating the script now. Hold on. 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. Link to comment Share on other sites More sharing options...
SuperNatural Posted September 28, 2010 Author Share Posted September 28, 2010 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! Link to comment Share on other sites More sharing options...
AlmarM Posted September 28, 2010 Share Posted September 28, 2010 expandcollapse popupOpt("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. Link to comment Share on other sites More sharing options...
SuperNatural Posted September 28, 2010 Author Share Posted September 28, 2010 well, thanks but when I click on it, nothing happend.. I add before: Run ( "Cheat Engine 5.6.1.exe" ) And nothing happend.. Link to comment Share on other sites More sharing options...
AlmarM Posted September 28, 2010 Share Posted September 28, 2010 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. Link to comment Share on other sites More sharing options...
SuperNatural Posted September 28, 2010 Author Share Posted September 28, 2010 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? 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