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"
(→Built-In Variables: added links to !TIMEOUT_MACRO, !TIMEOUT_PAGE, !TIMEOUT_TAG) |
(→Scripting Interface Command Overview: added link to iimTakeBrowserScreenshot()) |
||
Line 98: | Line 98: | ||
#[[iimPlay()]] | #[[iimPlay()]] | ||
#[[iimSet()]] | #[[iimSet()]] | ||
+ | #[[iimTakeBrowserScreenshot()]] | ||
# Error handling: [[Scripting Interface Return Codes]] | # Error handling: [[Scripting Interface Return Codes]] | ||
Revision as of 10:46, 26 October 2009
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
- CMDLINE
- DISCONNECT
- DS
- EXTRACT
- FILEDELETE
- FILTER
- FRAME
- IMAGECLICK
- IMAGESEARCH
- ONCERTIFICATEDIALOG
- ONDIALOG
- ONDOWNLOAD
- ONERRORDIALOG
- ONLOGIN
- ONPRINT
- ONSECURITYDIALOG
- ONWEBPAGEDIALOG
- PAUSE
- PROMPT
- PROXY
- REDIAL
- REFRESH
- SAVEAS
- SET
- SIZE
- STOPWATCH
- TAB
- TAG
- URL
- VERSION
- WAIT
- WINCLICK
- Macro Error Codes
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
- !DIALOGMANAGER
- !ENCRYPTION
- !ENDOFPAGE V6.30 and later
- !ERRORIGNORE
- !ERRORMACRO
- !EXTRACT
- !EXTRACT_TEST_POPUP
- !EXTRACTADD
- !EXTRACTDIALOG
- !FILELOG
- !FILESTOPWATCH
- !FOLDERIMACROS
- !IMAGEX
- !IMAGEY
- !LOADCHECK
- !LOOP
- !MACROTIMEOUT
- !NOW
- !POINTER
- !REPLAYSPEED
- !SINGLESTEP
- !STOPWATCHTIME
- !TAGSOURCEINDEX V.6.30 and later
- !TAGX
- !TAGY
- !TIMEOUT
- !TIMEOUT_MACRO
- !TIMEOUT_PAGE
- !TIMEOUT_TAG
- !URLCURRENT
- !URLSTART
- !USERAGENT
- !VAR1
- !VAR2
- !VAR3
- !VARDEFAULT
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()
- iimExit()
- iimGetInterfaceVersion()
- iimGetLastError()
- iimGetLastExtract()
- iimInit()
- iimPlay()
- iimSet()
- iimTakeBrowserScreenshot()
- Error handling: Scripting Interface Return Codes
Command Line Switches
The command line interface is part of the iMacros Browser (PRO and Scripting Editon). All command line options can also be used via iimInit.
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.