Autotype Custom Sequence

Jonathan White edited this page Dec 8, 2017 · 9 revisions

When using autotype you can set up a custom sequence that will be executed by KeePassXC when Autotype is performed.

A sequence is list of actions and characters.
Actions are keywords and keys placed inside curly bracket { and }.

All the actions in the sequence are Case-Insensitive (except for Custom Entry Attributes). This means that {USERname} is equal to {USERNAME} but {S:CUSTOM} isn't equal to {S:Custom}

If an action is invalid (it's not a key or a keyword and it's not a defined custom attributes), nothing will be printed.

An example of a key is {ENTER}.
An example of a keyword is {USERNAME}.

When you perform the Autotype, KeePassXC will ask you to unlock your database (if locked) and select the Entry you want to inject (if more than 1 are assigned to the same Window Title). The key-press/characters will be injected in the focused input of the Front-Most Window.

For example a sequence like Hello {USERNAME}{ENTER} will result in the key-press of the Hello string, the username's character from the selected Entry and the ENTER key.

Keywords

{USERNAME}

This keyword will be replaced by the username field in the selected Entry

{PASSWORD}

This keyword will be replaced by the password field in the selected Entry

{TITLE}

This keyword will be replaced by the title field in the selected Entry

{URL}

This keyword will be replaced by the URL field in the selected Entry

{NOTES}

This keyword will be replaced by the notes field in the selected Entry

{TOTP}

This keyword will be replaced by a newly generated TOTP code if the Entry is configured for it

Custom Entry Attributes

If you define Custom Attributes in your Entry, the Autotype will be able to access them with the Attribute name as an Action preceded by S: (case Sensitive).

For example: I define a new custom attribute named PIN with value 12345. Now I can Autotype it with the action {S:PIN}.

NOTE: Custom Attribute name are CaseSensitive

Special Actions

{DELAY n}

This keyword will add a milliseconds delay between actions

For example: A string like {USERNAME}{DELAY 1000}{ENTER} will result in the Key-Press of the username's character, a delay of 1 second and finally the press of ENTER key.

{DELAY=n}

This keyword, inserted at the start of the sequence, will add a millisecond delay between keypress

This can be useful if the Autotype is typing too fast and some character are missing from the key-press

{CLEARFIELD}

This keyword will clean the input field

Keys

This is a list of all the possibile key you can use with Autotype:

TAB  
ENTER  
SPACE  
UP  
DOWN  
LEFT  
RIGHT  
INSERT  INS  
DELETE  DEL  
HOME  
END  
PGUP  
PGDOWN  
BACKSPACE  BS  BKSP  
BREAK  
CAPSLOCK  
ESC  
HELP  
NUMLOCK  
PTRSC  
SCROLLLOCK  
ADD  +  
SUBTRACT  
MULTIPLY  
DIVIDE  
^  %  ~  (  )  {  }

Examples:

{{}
{ESC}
{+}
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.