The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "Command Reference"
Line 61: | Line 61: | ||
#[[!FILELOG]] | #[[!FILELOG]] | ||
#[[!FILESTOPWATCH]] | #[[!FILESTOPWATCH]] | ||
− | #[[! | + | #[[!FILE_PROFILER]] |
#[[!FOLDER_DATASOURCE]] | #[[!FOLDER_DATASOURCE]] | ||
#[[!FOLDER_STOPWATCH]] | #[[!FOLDER_STOPWATCH]] |
Revision as of 10:45, 27 October 2011
A high-level overview on the different versions of iMacros can be found here (business editions) and here (all versions).
The icons on each command detail page (see links below) show if the specific command is supported in the iMacros Browser, iMacros for Internet Explorer and iMacros for Firefox. Commands that are supported in all browsers work exactly the same in each browser, so macros created in the iMacros Browser (or Internet Explorer) can be replayed in iMacros for Firefox and vice versa. Browser specific differences are automatically handled by iMacros.
iMacros Commands Reference
- ' (Comment)
- ADD
- BACK
- CLEAR
- CLICK
- DS
- EVAL
- EXTRACT
- FILEDELETE
- FILTER
- FRAME
- IMAGECLICK
- IMAGESEARCH
- ONCERTIFICATEDIALOG
- ONDIALOG
- ONDOWNLOAD
- ONERRORDIALOG
- ONLOGIN
- ONPRINT
- ONSECURITYDIALOG
- ONWEBPAGEDIALOG
- PAUSE
- PROMPT
- PROXY
- REFRESH
- SAVEAS
- SAVEITEM
- SEARCH
- SET
- SIZE
- STOPWATCH
- TAB
- TAG
- TRAY version 7 and later
- URL
- VERSION
- WAIT
- Macro Error Codes
- Tip: How to make if/then decisions with iMacros.
Built-In Variables
Built-in variable names always start with an exclamation mark ("!"). User-defined variables are created with iimSet. See also this iMacros variable types overview.
- !CLIPBOARD
- !COLn
- !DATASOURCE
- !DATASOURCE_COLUMNS
- !DATASOURCE_LINE
- !ENCRYPTION
- !ENDOFPAGE
- !ERRORIGNORE
- !EXTRACT
- !EXTRACT_TEST_POPUP
- !EXTRACTDIALOG
- !FILELOG
- !FILESTOPWATCH
- !FILE_PROFILER
- !FOLDER_DATASOURCE
- !FOLDER_STOPWATCH
- !IMAGEX
- !IMAGEY
- !LOOP
- !MARKOBJECT
- !NOW
- !POPUP_ALLOWED
- !REPLAYSPEED
- !REGION_BOTTOM
- !REGION_LEFT
- !REGION_RIGHT
- !REGION_TOP
- !SINGLESTEP
- !STOPWATCHTIME
- !STOPWATCH_HEADER
- !TAGSOURCEINDEX
- !TAGX
- !TAGY
- !TIMEOUT
- !TIMEOUT_MACRO
- !TIMEOUT_PAGE
- !TIMEOUT_STEP
- !URLCURRENT
- !USERAGENT
- !VAR1
- !VAR2
- !VAR3
- !WAITPAGECOMPLETE
Scripting Interface Command Overview
The Scripting Interface is part of the iMacros Scripting Editon and works with the iMacros Browser, Internet Explorer and Firefox (see iimInit for details on how to switch between the browsers).
- iimDisplay
- iimClose (old: iimExit)
- iimGetInterfaceVersion()
- iimGetErrorText (old: iimGetLastError())
- iimGetExtract (old: iimGetLastExtract())
- iimOpen (old: iimInit())
- iimPlay and iimPlayCode()
- iimSet
- iimTakeBrowserScreenshot
- iimGetStopwatch (Old: iimGetLastPerformance)
- iimGetPerformance (new method!)
- Error handling: Scripting Interface Return Codes
Note that we made some API enhancements and name changes in iMacros V7.4. All old commands are still 100% supported, there is no need to change existing scripts and programs.
Command Line Switches
The command line interface is part of the iMacros Browser (PRO and Scripting Editon).
Error Handling
iMacros includes detailed error handling.
iMacros Error Codes
Please see the list of general iMacros Error-Codes.
Scripting Interface Error Codes
Even a web browser crash or freeze does not stop the Scripting Interface. Instead, it will simply return an error code and you can start a new instance. Please see the list of Scripting Interface Return Codes.
Component for .NET
For details on the new iMacros Component for .NET, please the Component wiki page.