ONERRORDIALOG

From iMacros

Jump to: navigation, search

If a page script error occurs on a webpage Internet Explorer opens an error dialog. This command handles such a dialog so your macros are not interrupted by script errors. By default the settings are BUTTON=YES and CONTINUE=YES. These settings are active even without an ONERRORDIALOG in your macro.

Contents

Syntax

ONERRORDIALOG BUTTON=(YES|NO) CONTINUE=(YES|NO)


Extracting the text of a Javascript error message.
Extracting the text of a Javascript error message.

Parameters

  • BUTTON
    Specifies which button is clicked.
  • CONTINUE
    Specifies if the macro is continued if such an error dialog comes up.

Disable Script Debugging

You can avoid Javascript error dialogs if you select "Disable Script Debugging" in the Internet Explorer Settings Dialog. These settings are also used by the iMacros Browser.

Internet Explorer Settings Dialog
Internet Explorer Settings Dialog


Forum

Forum posts related to this Wiki topic.

Disable Script Debugging in iMacros Browser

Examples

See Also

Page Errors, !EXTRACTDIALOG, Demo-OnError, ONCERTIFICATEDIALOG, ONDIALOG, ONDOWNLOAD, ONLOGIN, ONSECURITYDIALOG, ONWEBPAGEDIALOG