Home > Imacros Error > Imacros Error Return Codes

Imacros Error Return Codes

Contents

Shortest code to throw SIGILL Cracking in progress Factorial digit sum Database Baselines more hot questions question feed lang-vb about us tour help blog chat data legal privacy policy work here Privacy policy About iMacros Disclaimers Error and Return Codes From iMacros (Redirected from Scripting Interface Return Codes) Jump to: navigation, search iMacros displays an error message if it encounters an error If the command fails for any reason it returns an error code. Please see the list of Scripting Interface Return Codes. weblink

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

Imacro Error Code

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).

  1. Firefox Error Codes Errors specific for the Firefox Add-on.
  2. Please enter the correct password in the OPTIONS dialog or re-run the macro.
  3. If the last image search did not find an image, then the value is -1. "!IMAGEY" // This value contains the Y-coordinate of the last image found with the IMAGESEARCH or
  4. Tip: If you use this command to skip not-existing (only sometimes existing) web page elements (TAG), then it can be useful to reduce the default time iMacros waits for a missing
  5. Old: iMacros Scripting Edition => New: iMacros Enterprise Edition Old: iMacros PRO Edition => New: iMacros Standard Edition We will update the naming in the wiki over time.
  6. They are defined in-macro using the SET command. // 1.
  7. Code Reason -301 Error in Line x (TAG command not found in web page) -301b Datasource [x] not found -302 Frame not found F=[x] -302b Element empty - Web page problem

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

Imacros Error Ignore

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

Refresh includes sending a "pragma:nocache" header to the server (HTTP URLs only) which causes all elements of the website to be reloaded from the webserver. "SAVEITEM" // SAVEITEM saves the document A search for a TAG element does not go below this limit. "!ERRORIGNORE" // Tells iMacros to ignore errors. The Scripting Interface passes them from the browser to your script or application. -101 User pressed Stop button in the iMacros Browser. check over here Privacy policy About iMacros Disclaimers iMacros version 6 Error Codes From iMacros Jump to: navigation, search Contents 1 iMacros version 6 Error Codes 1.1 Installation 1.2 Recording 1.3 Replay 1.4 Internet

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.

Missing command ON...DIALOG. (Only from Scripting Interface) -1500 Command Not Supported: The command or feature is not licensed or supported in this product. -1600 Invalid Stopwatch Id: Invalid Stopwatch ID or

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.




© Copyright 2017 bookmarq.net. All rights reserved.