AutoType
From Lime 49 Wiki
AutoType enables LockCrypt to type preset data into any application. This feature is currently only available on LockCrypt for Windows.
Contents |
Using AutoType
Once AutoType has been configured for an account, select Tools->AutoType Selected. LockCrypt will try to switch to the window specified in the AutoType configuration then send the configured actions. If more than one suitable window is found a prompt will be shown.
The AutoType hotkey is set to Ctrl+Shift+T by default, but can be changed in Tools->Options.
Targetting Windows
LockCrypt will target all windows whose names match the name you set. If an asterisk (*) is included at the start or end of the name it will be treated as a wildcard.
For example: To match all Firefox windows with eBay in the title, use * eBay - Mozilla Firefox.
When playing back the recorded action, if more than one window is found those with names matching that configured are shown. Clicking Refresh switches to display all windows.
Recording Keystrokes
To record an action, click the Configure AutoType button when editing an account. The target window can be selected from the drop down. If an asterisk (*) is included at the start or end of the name it will be treated as a wildcard.
For example: To match all Firefox windows with eBay in the title, use * eBay - Mozilla Firefox.
LockCrypt is capable of sending keystrokes and mouse clicks to the target window, and actions can be either manually typed or recorded by clicking Record Action.
Supported Actions
Actions must be one of the following types.
| Code | Syntax | Description |
|---|---|---|
| {Keys} | {Keys:Keys to send} | Send the specified keys. Only valid keys from the list below can be used.
Eg: {Keys:Hello +2+3+4} would send the text Hello "£$ on a British qwerty keyboard. |
| {MouseClick} | {MouseClick:Button,X,Y} | Send a mouse up click. Button must be either 'L' for left or 'R' for right and X and Y are screen coordinates.
Eg: {MouseClick:R,800,420} would send a right mouse click at the coordinate 800,420. |
| {MouseUp} | {MouseUp:Button,X,Y} | Send a mouse up event. Button must be either 'L' for left or 'R' for right and X and Y are screen coordinates.
Eg: {MouseUp:L,300,600} would send a mouse up at the coordinate 300,600. |
| {MouseDown} | {MouseDown:Button,X,Y} | Send a mouse down event. Button must be either 'L' for left or 'R' for right and X and Y are screen coordinates.
Eg: {MouseUp:L,450,900} would send a mouse down at the coordinate 450,900. |
| {Wait} | {Wait:milliseconds} | Waits the specificed number of milliseconds before continuing.
Eg: {Wait:8500} would wait for 8.5 seconds. |
Note: A mouse click comprises a MouseDown then a MouseUp. LockCrypt doesn't make observations about what's being clicked on when you record an action, it just makes a note to move the mouse and click. For this reason it's recommended to use the keyboard to navigate when possible.
Supported Keys
As well the a-z, 0-9 and space keys, the following list of keys can be used with the {Keys} command.
| Code | Description |
|---|---|
| {ENTER} | Enter/return |
| {BACKSPACE} | The backspace key |
| {TAB} | The tab key |
| {HOME} | The Home key |
| {END} | The End key |
| {INSERT} | The Insert key |
| {DELETE} | The Delete/Del key |
| {ESCAPE} | The Escape key |
| {CAPSLOCK} | The Caps Lock key |
| {NUMLOCK} | The Num Lock key |
| {SCROLLLOCK} | The Scroll Lock key |
| {F1} - {F24} | The function keys |
| {ADD} | The add sign (+) |
| {SUBTRACT} | The subtract sign (-) |
| {MULTIPLY} | The asterisk (*) |
| {DIVIDE} | The divide sign/slash (/) |
| {UP} | The up arrow key |
| {DOWN} | The down arrow key |
| {LEFT} | The left arrow key |
| {RIGHT} | The right arrow key |
Modifier keys such as shift can also be used.
| Code | Description |
|---|---|
| + | Shift key |
| ^ | Control key |
| % | Alt key |
The keys %, ^, +, ~, (, ), { and } must be preceded by a backslash. Eg: To send the text ~5%, use \~5\%.
Examples
- {Keys:+lock+crypt{CAPSLOCK}capitals{CAPSLOCK}{Keys:^%e} would send the keys LockCrypt CAPITALS, then press Ctrl+Alt+E.
- {Keys:$Username${TAB}$Password${ENTER}{MouseDown:L,300,400}{MouseUp:L,300,400}{Keys:^%+y} would send the username field, press tab, send the password field, press enter then click at 300,300, before finally sending Ctrl+Shift+Alt+Y.
Inserting Account Fields
LockCrypt can add data from an account to the keypresses sent when performing AutoType. Select Tools->Insert Field, then click a field name to insert the contents of that field at the current location.
Fields can also be inserted manually by surrounding the name of the field with dollar signs ($). The field value is inserted before the keys are sent, so if the value of the field changes, the most current data will be sent.
- For example: $Username$ would send the username field.
- Note: When sending fields, variables must still be within a {Keys} section.
LockCrypt (Windows) user guide contents
LockCrypt (Java) user guide contents
