Recording a macro and generating code (Simple)

The AU3Record app is used to capture user interaction, which is to be converted to a script source code for later use (run, compile, or replay), and is also useful for repetitive actions, or for helping low-profile users to achieve complex tasks.

Getting ready

Open SciTE from the AutoIt Program Group and start using menus.

How to do it...

You can use the AU3Recorder menu to launch the macro recorder's main screen. Also, you can start AU3Record by using the Alt + F6 keys, and perform the following steps:

  1. Click on Click to Record.
  2. Interact with any program, for example, Notepad.
  3. Click on Click to Stop.
  4. Get your source code.
    How to do it...

How it works...

In this recipe, you automated repetitive tasks and increased productivity by using several macro-recording software programs. AU3Record can follow your movements on the fly as you perform a computer task (easy or complex) and save this task to the source code.

You may replay the saved task code any time again, or distribute any executable file.

There's more...

There is a similar recorder called AutoItMacroRecorder, which can be found by navigating to Menu | Tools. Use this if you do not get the desired results from AU3Record.

Some windows or controls may be difficult to be captured from these recorders, so you may have to code part of the program tasks, or you may even have to modify generated source code to change features or to give user feedback.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset