Edit Macros
Top  Previous  Next

Related example macros: Demo-FillForm

All recorded macros are stored in a plain text file with the ending .iim in the directory defined by the Folder Macros text field in the Path tab of the Options dialog, e.g. C:\Program Files\iMacros\Macros\. You can manually edit and tweak the macros using any text editor you like, e.g. Notepad, which is shipped with the Windows operating system by default.
To open any macro, open the Edit tab, mark the macro you want to edit and click the edit button. The editor you entered in the Path Macro Editor text field located in the Path tab of Options dialog (Notepad by default) will open and display the macro - in this example we chose Demo-FillForm:

notepad

You could now change the content of a form text field. To change the Name below from "Tom Tester" to "Dr. A. Award", locate the
TAG command that contains "Tom Tester" and change is as shown below:

Old:
   TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f1 ATTR=NAME:n1 CONTENT=Tom Tester  
New:   TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f1 ATTR=NAME:n1 CONTENT=Dr.<SP>A.<SP>Award
   
When assigning values to the
CONTENT parameter of any iMacro command, all whitespaces in the text must be substituted by <SP> and all newlines must be substituted by <BR>.

After you saved the changes to the file, iMacros will immediately apply them during the next replay of the macro.





Page URL http://www.iopus.com/imacros/help/edit_macros.htm