Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Au3 Recorder Vs Autoit Macro Generator


  • Please log in to reply
5 replies to this topic

#1 autoguy100

autoguy100

    Seeker

  • Active Members
  • 24 posts

Posted 18 April 2006 - 08:40 PM

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(':think:', '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!







#2 Valuater

Valuater

    www.PayFreeWireless.com

  • MVPs
  • 11,203 posts

Posted 18 April 2006 - 08:51 PM

1
Welcome to the forums

2
most scripta are written by each person after understanding most of the commands

3
the GUi Builder can build the GUI as you would like it to be designed

4
for some great demos and all the programs you need... see this


http://www.autoitscript.com/forum/index.php?showtopic=21048#

8)

Edited by Valuater, 18 April 2006 - 08:51 PM.

Posted Image

Clic The Pic!!!


#3 MHz

MHz

    Just simple

  • MVPs
  • 5,726 posts

Posted 18 April 2006 - 10:57 PM

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.

#4 sunriser

sunriser

    Seeker

  • Active Members
  • 11 posts

Posted 06 September 2006 - 07:08 PM

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 ?

#5 SmOke_N

SmOke_N

    It's not what you know ... It's what you can prove!

  • Moderators
  • 15,730 posts

Posted 06 September 2006 - 07:11 PM

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.


#6 MHz

MHz

    Just simple

  • MVPs
  • 5,726 posts

Posted 06 September 2006 - 07:22 PM

where I can find AutoItMacroGenerator and Au3Recorder ?

They are also part of the Scite4AutoIt3 install package. :P
http://www.autoitscript.com/autoit3/scite/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users