AutoComplete a login form in a Windows desktop application

AutoComplete a login form in a Windows desktop application


What is AutoComplete?


Regex Password Vault can fill login forms in virtually any Windows application by using an alternate mode of AutoComplete called Keystroke mode. It works by sending keystrokes to the target window, as if you had typed them yourself. In order to use Keystroke mode for a password, some configuration is required beforehand. See below for details.


To configure a password to use Keystroke mode


1.Edit an existing password or create a new password, then click the AutoComplete tab.
Password AutoComplete settings

2.Under AutoComplete mode, check Keystroke mode.

3.Click Edit script.... The AutoComplete Script dialog will appear. You are required to create an AutoComplete script that specifies which fields are to be filled, and in which order. When you AutoComplete this password, Password Vault follows this script to fill the login form.

4.Use the buttons on the left to add fields and commands to the script as required:



Username, Email, Password, Custom 1, Custom 2, Custom 3, Custom 4

Adds the corresponding password field to the script.

Tab key

Adds a Tab keystroke to the script. This is equivalent to pressing Tab on your keyboard, which typically moves the cursor to the next box in the form.

Enter key

Adds an Enter keystroke to the script. This is equivalent to pressing Enter on your keyboard, which typically submits the form as if you had clicked Submit or OK yourself.

1-second delay

Adds a delay of one second to the script. You can use one or more of these commands as necessary.

Default script

Replaces the current script with the script Username - Tab key - Password - Enter key. This is the most common pattern for login forms.


View a sample AutoComplete script


This example shows the script you would create to fill a typical login form, shown below.


A typical login form


This script assumes that the cursor will be in the User name box at the time the AutoComplete operation is started.


1.Username (fills the User name box)

2.Tab key (moves the cursor to the Password box)

3.Password (fills the Password box)

4.Enter key ("clicks" the Log On button and logs you in)


To AutoComplete a password in Keystroke mode


There are multiple ways to start a Keystroke AutoComplete operation. You can choose whichever method you prefer. However, no matter which method you choose, the following requirements always apply.


Before starting the AutoComplete operation, the target window must have input focus, and the cursor must be in the correct box. The target window is the window that contains the login form to be filled.

Regex Password Vault must be running in the background with your Vault file open.


Using a shortcut key


Type the manual-select shortcut key (which by default is Ctrl + Shift + M). Choose the desired password from the list.


You may also assign a password its own dedicated shortcut key, which will directly AutoComplete the password to which it is assigned, without going through the selection process first.


Note  For more information about shortcut keys, including how to change a key combination, see Shortcut Keys.


From the notification area (system tray)


1.Click the Regex Password Vault icon Regex Password Vault icon. You may need to show hidden icons first.

2.Click AutoComplete Password.... Choose the desired password from the list.


From the main window


Switch to Password Vault, then select the desired password. Click AutoComplete AutoComplete button.


There will be a short delay before the AutoComplete operation starts. This is to allow time to switch from the Password Vault window to the target window. You will be automatically switched back to the last window you were using. This will generally be the desired target window. However, if this is not the window you want, you will need to switch to the correct target window before the delay elapses. After the delay elapses, the password will be AutoCompleted.


You can change this window-switching behavior or make the delay longer or shorter. Click Tools > Options > Advanced, then under AutoComplete, make the desired changes.


Tip: Doing more with Keystroke AutoComplete


While Keystroke AutoComplete is slightly more complex than Form Filler mode to set up and use, it is also more versatile because in addition to being compatible with almost all Windows desktop applications, Keystroke mode can be used in other situations that Form Filler mode doesn't support.


Keystroke mode can be used to fill Adobe Flash and Microsoft Silverlight login forms embedded in webpages. Form Filler mode can fill HTML controls only.

Keystroke mode can fill credentials dialogs in any browser, as well as within Windows. Form Filler mode is only compatible with the Windows credentials dialog in Windows XP and Vista, and the Mozilla Firefox credentials dialog.

If you use an alternate browser, such as Opera or Safari, you can use Keystroke mode to AutoComplete login forms on webpages. Form Filler mode does not support these browsers.

© 2013 Regex Software. All rights reserved.

Link to this topic