## AutoType

AutoType provides a means for users to easily and quickly enter user name and password information. With a single click, the user name and password are entered and the data is submitted to the host for approval. By default, the formula followed by the automated keystrokes is as follows: the user name, followed by a tab key, followed by the password, another tab, and then the enter key (username TAB password TAB ENTER). This works fine for most web sites that require username/password authentication.

For web sites or applications that require different data, it is possible to tailor the AutoType behaviour as described in the Customizing AutoType section below. Note that you can also customize the default AutoType text via the Misc. tab in the Options dialog box. This can be useful if, for example, the AutoType is too fast for your machine.

### Using AutoType

1. Place cursor in the form's username field
2. Maximize or open Password Safe
3. Select a password entry
4. Ctrl+T or right-click and select Perform AutoType or click on the Toolbar button to initiate.

### Customizing AutoType

For web sites or applications that do not have the username field followed by the password field followed by the login button, you can modify the behaviour by filling in the "AutoType" field with text that specifies the desired behavior as follows:

- \u is replaced by the username associated with the entry.
- \p is replaced by the password associated with the entry.
- \g is replaced by the group associated with the entry.
- \i is replaced by the title associated with the entry.
- \l is replaced by the URL associated with the entry (that's the letter ell, not the digit '1').
- \m is replaced by the e-mail associated with the entry.
- \o is replaced by the contents of the (possibly multilined) Notes field.

- Any end of line characters '\n', '\r' or '\r\n' are converted to '\r' (carriage return).
- No substitution is made to escape sequences within the Notes field (e.g. '\u', '\p' etc.) except for the '\t' sequence, which is replaced by the Tab character and '\s' sequence, which is replaced by "Shift+Tab".

- \oNNN is replaced by the contents of the nth line of the Notes field

- NNN can be one to three digits (e.g., \o5 for the 5th line, \o45 for the 45th, etc.
- End of line characters are not included.
- if NNN is larger than the number of lines in the notes field, then this has no effect.

Note that this is a convenient way to support autotyping for applications that require a second password or other arbitrary text as part of the authentication process.

- \b is replaced by the backspace key.
- \t is replaced by the Tab key, in effect skipping a field.
- \s is replaced by the "Shift+Tab", in effect back-tabbing to the previous field.
- \n is replaced by the enter key, in effect pressing a button.
- \\ is replaced by the backslash (\) key.
- \dNNN sets the delay between characters to NNN milliseconds, instead of 10 (the default). This changes the delay for the current and all subsequent characters. For example, "fast\d500slow" will result in 'fast' being typed with the default delay, and the letters 's', 'l', 'o', and 'w' typed with a half-second pause before each. if you want to put in a one-time delay that does not affect the speed of the following characters, use '\w' or '\W', as described below.
- \wNNN or \WNNN introduces a delay of NNN milliseconds for \w, or seconds if \W is used. For example, "how\w500now" will cause 'how' to be typed (at the default rate or that specified by the last \d), followed by a half-second pause, followed by 'now' typed at the same rate as 'how'). Likewise, "how\W2now" will introduce a two second pause between the two words. This is useful for fine-tuning the timing with certain web pages.
- \z invokes the old AutoType mechanism. This mechanism may handle non-Latin characters incorrectly, but can make AutoType work on certain problematical web sites. If you find that AutoType does not work properly on a particular web site, try this code in the AutoType command field.
- All other text is typed as-is.

Example: The following can be used where the bank account number (12345) must be entered before the user and password:

    12345\t\u\t\p\t\n

Note: If you are having problems with AutoType, you might want to disable 3rd-party popup-blockers. Users have reported problems with the interaction of popup-blockers with the AutoType functionality.