ONLOGIN
(Copy URL in PhpBB Forum Format - Info)From iMacros
Handles login dialogs. The ONLOGIN command must appear before the macro command that navigates to the site that brings up the login dialog. 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 in the Security chapter.
Note: You need to use ONLOGIN before the URL GOTO or TAG command that triggers the login dialog.
Contents |
Syntax

ONLOGIN USER=username PASSWORD=password RETRY=[YES|NO]
Parameters
- USER
- Specifies the user name with which to log in.
- PASSWORD
- Specifies the password with which to log in. Can be in plain text or encrypted.
- RETRY
- Instructs iMacros to handle the login dialog as long as it appears (RETRY=YES), or to press the cancel button if failed the first time (RETRY=NO). Default is YES.
Security
Just like with normal website passwords, the ONLOGIN password can be stored in plain text or encrypted. To create an encrypted password, please make sure that you have the password security options set to one of the two "Store password encrypted" options before you start recording.
Examples
ONLOGIN USER=username PASSWORD=password URL GOTO=http://www.mysavesite.com
Notes
- To automate the login dialog on Windows 7, you first need to remove any saved credentials for the site using these steps.
See Also
ONCERTIFICATEDIALOG, ONDIALOG, ONDOWNLOAD, ONERRORDIALOG, ONSECURITYDIALOG, ONWEBPAGEDIALOG
