keepass安卓?keepass登录不输入密码?KeePass(4)

电脑杂谈  发布时间:2016-11-20 09:00:22  来源:网络整理

Auto-Type window definitions, entry titles and URLs are Spr-compiled, i.e. placeholders, , field references, etc. can be used.


Auto-Type Keystroke Sequences

An auto-type keystroke sequence is a one-line string that can contain placeholders and special key codes.

A complete list of all supported placeholders can be found on the page Placeholders. The special key codes can be found below.

Above you've seen already that the default auto-type is {USERNAME}{TAB}{PASSWORD}{ENTER}. Here, {USERNAME} and {PASSWORD} are placeholders: when auto-type is performed, these are replaced by the appropriate field values of the entry. {TAB} and {ENTER} are special key codes: these are replaced by the appropriate keypresses. Special key codes are the only way to specify special keys like Arrow-Down, Shift, Escape, etc.

Of course, keystroke sequences can also contain simple characters to be sent. For example, the following string is perfectly valid as keystroke sequence string:
{USERNAME}{TAB}Some text to be sent!{ENTER}.

keepass 1.x Only

Special key codes are case-sensitive.


keepass 2.x Only

Special key codes are case-insensitive.

Special Keys:
The following codes for special keys are supported:

Special KeyCode

Tab{TAB}

Enter{ENTER} or ~

Arrow Up{UP}

Arrow Down{DOWN}

Arrow Left{LEFT}

Arrow Right{RIGHT}

Insert{INSERT} or {INS}

Delete{DELETE} or {DEL}

Home{HOME}

End{END}

Page Up{PGUP}

Page Down{PGDN}

Space{SPACE}

Backspace{BACKSPACE}, {BS} or {BKSP}

Break{BREAK}

Caps-Lock{CAPSLOCK}

Escape{ESC}

Windows Key{WIN} (equ. to {LWIN})

Windows Key: left, right{LWIN}, {RWIN}

Apps / Menu{APPS}

Help{HELP}

Numlock{NUMLOCK}

Print Screen{PRTSC}

Scroll Lock{SCROLLLOCK}

F1 - F16{F1} - {F16}

Numeric Keypad +{ADD}

Numeric Keypad -{SUBTRACT}

Numeric Keypad *{MULTIPLY}

Numeric Keypad /{DIVIDE}

Numeric Keypad 0 to 9{NUMPAD0} to {NUMPAD9}

Shift+

Ctrl^

Alt%


keepass 1.x Only

Special KeyCode

+{PLUS}

%{PERCENT}

^{CARET}

~{TILDE}

(, ){LEFTPAREN}, {RIGHTPAREN}

{, }{LEFTBRACE}, {RIGHTBRACE}

@{AT}

Windows Key (as modifier)@


keepass 2.x Only

Special KeyCode

+{+}

%{%}

^{^}

~{~}

(, ){(}, {)}

[, ]{[}, {]}

{, }{{}, {}}

Additionally, some special commands are supported:

Command SyntaxAction

{DELAY X}Delays X milliseconds.

{DELAY=X}Sets the default delay to X milliseconds for all following keypresses.

{CLEARFIELD}Clears the contents of the edit control that currently has the focus (only single-line edit controls).

{VKEY X}Sends the virtual key of value X.

{APPACTIVATE WindowTitle}Activates the window "WindowTitle".

{BEEP X Y}Beeps with a frequency of X hertz and a duration of Y milliseconds.


keepass 2.x Only

Command SyntaxAction

{VKEY-NX X}Sends the non-extended virtual key of value X. If possible, use {VKEY X} instead.

{VKEY-EX X}Sends the extended virtual key of value X. If possible, use {VKEY X} instead.


keepass 2.x Only

Keys and special keys (not placeholders or commands) can be repeated by appending a number within the code. For example, {TAB 5} presses the Tab key 5 times.

For details on how to send special keys for which no explicit special key codes exist, please see: .

Finally, some examples:

{TITLE}{TAB}{USERNAME}{TAB}{PASSWORD}{ENTER}
Types the entry's title, a Tab, the user name, a Tab, the password of the currently selected entry, and presses Enter.

{TAB}{PASSWORD}{ENTER}
Presses the Tab key, enters the entry's password and presses Enter.

{USERNAME}{TAB}^v{ENTER}
Types the user name, presses Tab, presses Ctrl+V (which pastes data from the Windows clipboard in most applications), and presses Enter.

Toggling Checkboxes:
Sometimes you find checkboxes on websites ("Stay logged in on this computer" for example). You can toggle these checkboxes by sending a space character (' ') when auto-typing. For example:
{USERNAME}{TAB}{PASSWORD}{TAB} {TAB}{ENTER}
If there is a webform with a user name field, password field and a checkbox, this sequence would enter the user name, the password and toggle the checkbox that follows the password control.

Pressing Non-Default Buttons:
Pressing non-default buttons works the same as toggling checkboxes: send a space character (' '). Note that this should only be used for non-default buttons; for default buttons, {ENTER} should be sent instead.


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-21283-4.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 庄宗
      庄宗

      “甲午战争”120年后的中国

    热点图片
    拼命载入中...