Error codes up to -100 are scripting interface errors. This error happens only if the browser is terminated so abruptly that iMacros can not respond back to the interface. Already have an account? DS) DOM Errors -920 Element for specified x/y coordinates was not found -921 Element specified by TAG command was not found -922 Frame specified in TAG command was not found -923 view publisher site
This page has been accessed 1,261,046 times. This is the URL visible in the browser address bar at the time the variable is used. "!USERAGENT" // Change the default user agent of the web browser. "!VAR0...!VAR9" // Standard These are the same errors (or error codes) that you get during a manual macro replay (if you start the macro by clicking the "Play" button).
iMacros Commands Reference. "' comment" // The single quote character ' indicates a comment. With iimGetLastError() the text of an error message can be retrieved via the Scripting Interface. The browser icons listed below and on each command detail page denote browser compatibility. Element Specified By Tag Command Was Not Found The general rule is: Success return code greater than 0 (Currently there is only one success code: 1) Failure return code less than 0 Notes: The code is sent via the
The code "sNotComplete"(-2) indicates that he browser was closed e.g. Imacros Error Ignore Note that this is not the same as sNotComplete. Waits for user to click "Continue" to continue. "PRINT" // Prints the current browser window on your default printer. "PROMPT prompt_text variable_name [default_value]" // Displays a popup to ask for a http://wiki.imacros.net/index.php?title=Scripting_Interface_Return_Codes&redirect=no I get this error when I execute this .vbs file: Option Explicit Dim iim1, iret 'initialize iMacros instance set iim1 = CreateObject ("iMacros") iret = iim1.iimInit("-fx", false) do while not iret
The general rule is: Success return code greater equal 0 Failure return code less than 0 You can use iimGetErrorText to retrieve the text associated with the last error. 1 (sOk) Imacros If Then Typically this happens only in the rare case of a browser crash. You can use this return code to find out whether a command succeeded or not. If no directory is specified in Name the file is assumed to lie in the iMacros Downloads subdirectory. "FILTER TYPE=IMAGES STATUS=(ON|OFF)" // Filtering is a feature that allows you to change
Reload to refresh your session. This page has been accessed 178,859 times. Imacro Error Code Code Reason -110 Command Line Error: No Macro! -102 Dialog Manager not started -103 Dialog Manager not stopped -167 Browser timeout issue* -184 Error: Wrong value for!EXTRACT_TEST_POPUP -187 Error: Wrong value Imacros If Error Then If a line starts with ' everything else on this line is ignored.
Contents 1 Value 2 Set By 3 Examples 4 Related Forum Posts 5 See Also Value YES|NO Set By [ ] Internal [X] SET Internal means that the iMacros program itself have a peek at these guys Retrieved from "http://wiki.imacros.net/index.php?title=Command_Reference&oldid=10142" Navigation menu Personal tools Log in Namespaces Page Discussion Variants Views Read View source View history Actions Search Home Main Page Content Introducing iMacros First Steps Form Filling See iimOpen return values for details. -8 (sProfileMissing) A profile (iMacros for Firefox) or user-data-dir (iMacros for Chrome) is necessary to run iMacros via iimRunner. iimOpen tried to attach an iMacros instance to iimRunner, but hasn't found iimRunner. Wrong Content Specifier Imacros
The advantages are that you can store this information in the macro and thus make it run everywhere, without the user having to manually white-list the URL. "!REPLAYSPEED" // Sets the Iimplay Contents 1 iMacros Commands Reference 2 Built-In Variables 3 User-defined Variables 4 Scripting Interface Command Overview 5 Command Line Switches 6 Error Handling 6.1 iMacros Error Codes 6.2 Scripting Interface Error These are NOT Scripting Interface error codes, but errors created by the iMacros browser and the macro itself.
You can use this return code to find out whether a macro succeeded or not. Typically this is used for comments or to disable specific parts of a macro. "ADD !VAR value" // Add a value to a variable. For very large pages this should reduce the time needed for IMAGESEARCH. "!REGION_LEFT" // Defines the left boundary of a subregion to restrict IMAGESEARCH. Datasource Requires File Io Interface You signed out in another tab or window.
This value is stored in variable_name. Scripting Interface Error Codes Even a web browser crash or freeze does not stop the Scripting Interface. Sign up for free to join this conversation on GitHub. this content This command handles such a dialog so your macros are not interrupted by script errors. "ONLOGIN USER=username PASSWORD=password RETRY=[YES|NO]" // Handles login dialogs.
Examples SET!TIMEOUT_STEP 1 SET!ERRORIGNORE YES 'Commands that fail sometimes (element missing) TAG... Maximum number of iMacros instances controlled by iimRunner was reached. ret = iimGetStopwatch(int index, string name, string value); // Returns the data of the STOPWATCH command. Code Reason -522 Command Line Error: No Macro found Retrieved from "http://wiki.imacros.net/index.php?title=iMacros_version_6_Error_Codes&oldid=6867" Navigation menu Personal tools Log in Namespaces Page Discussion Variants Views Read View source View history Actions Search Home
version_number = iimGetInterfaceVersion(); // It returns a number in LONG format such as 80066532. See iimOpen return values for details -7 (sInstancesCountLimitReached) iimRunner error message.