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 12: | Line 12: | ||
<!--#[[DISCONNECT]]--> | <!--#[[DISCONNECT]]--> | ||
#[[DS]] | #[[DS]] | ||
− | |||
#[[EXTRACT]] | #[[EXTRACT]] | ||
<!--#[[FILEDELETE]]--> | <!--#[[FILEDELETE]]--> |
Revision as of 20:12, 3 November 2010
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 deprecated in iMacros 7!
- DS
- EXTRACT
- FILTER
- FRAME
- IMAGECLICK
- IMAGESEARCH
- ONCERTIFICATEDIALOG
- ONDIALOG
- ONDOWNLOAD
- ONERRORDIALOG
- ONLOGIN
- ONPRINT
- ONSECURITYDIALOG
- ONWEBPAGEDIALOG
- PAUSE
- PROMPT
- PROXY
- REFRESH
- SAVEAS
- SEARCH
- SET
- SIZE
- STOPWATCH
- TAB
- TAG
- TRAY version 7 and later
- URL
- VERSION
- WAIT
- 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 deprecated in iMacros 7!
- !DATASOURCE_LINE
- !ENCRYPTION
- !ENDOFPAGE V6.30 and later
- !ERRORIGNORE
- !ERRORMACRO deprecated in iMacros 7!
- !EXTRACT
- !EXTRACT_TEST_POPUP
- !EXTRACTADD deprecated in iMacros 7!
- !EXTRACTDIALOG
- !FILELOG
- !FILESTOPWATCH
- !FOLDER_DATASOURCE
- !FOLDER_STOPWATCH
- !FOLDERIMACROS deprecated in iMacros 7!
- !IMAGEX
- !IMAGEY
- !LOADCHECK deprecated in iMacros 7!
- !LOOP
- !NOW
- !POPUP_ALLOWED
- !REPLAYSPEED
- !SINGLESTEP
- !STOPWATCHTIME
- !STOPWATCH_HEADER
- !TAGSOURCEINDEX V.6.30 and later
- !TAGX
- !TAGY
- !TIMEOUT
- !TIMEOUT_MACRO V.6.80 and later
- !TIMEOUT_PAGE V.6.80 and later
- !TIMEOUT_TAG V.6.80 and later
- !TIMEOUT_STEP
- !URLCURRENT
- !URLSTART deprecated in iMacros 7!
- !VAR1
- !VAR2
- !VAR3
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() V.6.80 and later
- iimGetLastPerformance V.6.85 and later
- Error handling: Scripting Interface Return Codes
Command Line Switches
The command line interface is part of the iMacros Browser (PRO and Scripting Editon).
- -datasource deprecated in iMacros 7!
- -delay
- -key
- -kioskmode
- -loop
- -macro
- -noexit
- -silent
- -timeout deprecated in iMacros 7!
- -tray
- -var_varname
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.