The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Browser Automation
Dialog Manager
The Dialog Manager allows you to manage all those pesky dialogs that appear with Internet Explorer from time to time. Because the iMacros Browser emulates Internet Explorer the same dialogs appear in the iMacros Browser too.
Login
iMacros fills all login dialogs for you using the ONLOGIN command. The password is stored with the method you selected on the Security tab of the Options dialog. More details about the different password storage options can be found here.
Javascript
(Related example macro: Demo-OnJavascriptDialog )
iMacros handles all Javascript dialog boxes for you using the ONDIALOG command. You can extract the text of a dialog by adding SET !EXTRACTDIALOG YES to your macro.
Tip: On some pages a new page loads once a button on the dialog is clicked. If you want iMacros to wait for this page to load before continuing please add "WAIT SECONDS=#DOWNLOADCOMPLETE#" after the TAG statement that triggers the dialog box.
Web Page Dialogs
(Related example macro: Demo-OnWebPageDialog)
Web page dialogs are similar to Javascript dialogs, except they display HTML content. iMacros can control them using the ONWEBPAGEDIALOG command. Since web page dialogs can contain any number of buttons or boxes you can automate them by sending a specific list of keyboard commands to them. For example "KEYS=Hello{ENTER}{CLOSE}" will enter the word "Hello" on the dialog, press ENTER key and then close the dialog.
During replay "ONWEBPAGEDIALOG KEYS={WAIT<sp>2}{CLOSE}" is active by default to close unwanted ad dialogs.
Note: Web page dialogs are not normal HTML browser windows. Therefore they do not open in a separate tab, but pop up in front of the current window.
(Related example macro: Demo-Print)
The dialog manager works with the print dialog. For more details please see the PRINT command.
Security Dialogs
Security dialogs can occur on many secure web sites. The iMacros Dialog Manager automatically clicks the security dialog boxes so your macros are not interrupted. This is done using the ONSECURITYDIALOG command.
By default the settings are BUTTON=YES and CONTINUE=YES. These settings are active even without an ONSECURITYDIALOG command in your macro.
Certificates
Some secure web pages ask you to select a client side certificate. The dialog manager can do this for you using the ONCERTIFICATEDIALOG command.
Page Errors
(Related example macro: Demo-OnError)
Page script errors can occur on many web sites for a variety of reasons. The iMacros Dialog Manager automatically clicks the Internet Explorer error dialog boxes so your macros are not interrupted by script errors! This is done using the ONERRORDIALOG command.
By default the settings are BUTTON=YES and CONTINUE=YES. These settings are active even without an ONERRORDIALOG in your macro.