autoguy100 Posted April 18, 2006 Posted April 18, 2006 Hi, I am new to Autoit, why there is difference in scripts generated by AutoIT macro generator Vs Au3 recorder. Is there any recorder available in AutoIT to generate script in the following format as used in examples. Note: The scripts recorded using AutoIt Macro generator does not work in most of the situations. Any help is appreciated.java script:emoticon('', 'smid_24') ; ; AutoIt Version: 3.0 ; Language: English ; Platform: Win9x/NT ; Author: Jonathan Bennett ; ; Script Function: ; Plays with the calculator. ; ; Prompt the user to run the script - use a Yes/No prompt (4 - see help file) $answer = MsgBox(4, "AutoIt Example (English Only)", "This script will run the calculator and type in 2 x 4 x 8 x 16 and then quit. Run?") ; Check the user's answer to the prompt (see the help file for MsgBox return values) ; If "No" was clicked (7) then exit the script If $answer = 7 Then MsgBox(0, "AutoIt", "OK. Bye!") Exit EndIf ; Run the calculator Run("calc.exe") ; Wait for the calulator become active - it is titled "Calculator" on English systems WinWaitActive("Calculator") ; Now that the calc window is active type 2 x 4 x 8 x 16 ; Use AutoItSetOption to slow down the typing speed so we can see it AutoItSetOption("SendKeyDelay", 400) Send("2*4*8*16=") Sleep(2000) ; Now quit by sending a "close" request to the calc WinClose("Calculator") ; Now wait for calc to close before continuing WinWaitClose("Calculator") ; Finished!
Valuater Posted April 18, 2006 Posted April 18, 2006 (edited) 1Welcome to the forums2most scripta are written by each person after understanding most of the commands3the GUi Builder can build the GUI as you would like it to be designed4for some great demos and all the programs you need... see thishttp://www.autoitscript.com/forum/index.php?showtopic=21048#8) Edited April 18, 2006 by Valuater
MHz Posted April 18, 2006 Posted April 18, 2006 I am new to Autoit, why there is difference in scripts generated by AutoIT macro generator Vs Au3 recorder. Is there any recorder available in AutoIT to generate script in the following format as used in examples.AutoItMacroGenerator is for creating automated installation scripts by using the more so accurate control* functions.Au3Recorder handles mouse and keyboard actions so is good for general desktop and program automation.
sunriser Posted September 6, 2006 Posted September 6, 2006 AutoItMacroGenerator is for creating automated installation scripts by using the more so accurate control* functions.Au3Recorder handles mouse and keyboard actions so is good for general desktop and program automation.where I can find AutoItMacroGenerator and Au3Recorder ?
Moderators SmOke_N Posted September 6, 2006 Moderators Posted September 6, 2006 where I can find AutoItMacroGenerator and Au3Recorder ?Au3Recorder was changed yesterday.http://www.autoitscript.com/forum/index.php?showtopic=32179 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
MHz Posted September 6, 2006 Posted September 6, 2006 where I can find AutoItMacroGenerator and Au3Recorder ?They are also part of the Scite4AutoIt3 install package. http://www.autoitscript.com/autoit3/scite/
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