Command Reference

From iMacros

Jump to: navigation, search

A high-level overview on the different versions of iMacros can be found here (business editions) and here (all versions).

The icons iMacros Browser IE Plug-in Firefox 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.

Contents

iMacros Commands Reference

  1. ' (Comment)
  2. ADD
  3. BACK
  4. CLEAR
  5. CLICK
  6. CMDLINE
  7. DISCONNECT
  8. DS
  9. EXTRACT
  10. FILEDELETE
  11. FILTER
  12. FRAME
  13. IMAGECLICK
  14. IMAGESEARCH
  15. ONCERTIFICATEDIALOG
  16. ONDIALOG
  17. ONDOWNLOAD
  18. ONERRORDIALOG
  19. ONLOGIN
  20. ONPRINT
  21. ONSECURITYDIALOG
  22. ONWEBPAGEDIALOG
  23. PAUSE
  24. PRINT
  25. PROMPT
  26. PROXY
  27. REDIAL
  28. REFRESH
  29. SAVEAS
  30. SET
  31. SIZE
  32. STOPWATCH
  33. TAB
  34. TAG
  35. URL
  36. VERSION
  37. WAIT
  38. WINCLICK
  39. 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.

  1. !CLIPBOARD
  2. !COLn
  3. !DATASOURCE
  4. !DATASOURCE_COLUMNS
  5. !DATASOURCE_LINE
  6. !DIALOGMANAGER
  7. !ENCRYPTION
  8. !ENDOFPAGE V6.30 and later
  9. !ERRORIGNORE
  10. !ERRORMACRO
  11. !EXTRACT
  12. !EXTRACT_TEST_POPUP
  13. !EXTRACTADD
  14. !EXTRACTDIALOG
  15. !FILELOG
  16. !FILESTOPWATCH
  17. !FOLDERIMACROS
  18. !IMAGEX
  19. !IMAGEY
  20. !LOADCHECK
  21. !LOOP
  22. !MACROTIMEOUT
  23. !NOW
  24. !POINTER
  25. !REPLAYSPEED
  26. !SINGLESTEP
  27. !STOPWATCHTIME
  28. !TAGSOURCEINDEX V.6.30 and later
  29. !TAGX
  30. !TAGY
  31. !TIMEOUT
  32. !URLCURRENT
  33. !URLSTART
  34. !USERAGENT
  35. !VAR1
  36. !VAR2
  37. !VAR3
  38. !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).

  1. iimDisplay()
  2. iimExit()
  3. iimGetInterfaceVersion()
  4. iimGetLastError()
  5. iimGetLastExtract()
  6. iimInit()
  7. iimPlay()
  8. iimSet()
  9. 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.

  1. -datasource
  2. -key
  3. -loop
  4. -macro
  5. -noexit
  6. -silent
  7. -timeout
  8. -tray
  9. -useragent
  10. -var_varname
  11. -var1
  12. -var2
  13. -var3

Error Handling

iMacros includes detailed error handling. 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 general iMacros Error-Codes and Scripting Interface Return Codes.

Personal tools