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 iMacros Browser IE Plug-in

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 Internet Explorer settings. These settings are also used by the iMacros Browser. On Internet Explorer, go to Tools/Internet Options, click on the Advanced Tab. Under Browsing you should put check marks at both "Disable script debugging". Remove the check mark for "Display a notification about every script error".

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

Personal tools