Skip to content

Latest commit

 

History

History
71 lines (42 loc) · 1.27 KB

File metadata and controls

71 lines (42 loc) · 1.27 KB

presskey

English

Press a keyboard hotkey or write words.

  • Key modifiers:
    • Shift: +
    • Control: ^
    • Alt: !

!> Avoid using hotkeys with key modifiers, since they have higher chance of failing/causing keyboard input interference.

Portuguese

Pressionar uma hotkey do teclado ou escrever palavras.

  • Key modifiers:
    • Shift: +
    • Control: ^
    • Alt: !

!> Evite usar hotkeys com key modifiers, pois eles tem maior chance de falhar/causar interferencia de keyboard input.

presskey(key, repeat*, delay*)

  • Parameters
    • key: name of the key, must be the same as in the AutohHotkey's Key list.
    • repeat: optional param; times to press, default is 1.
    • delay: optional param; the interval delay in miliseconds after each key press, default is 250.

Return Value

Nothing.


Examples

  1. Press Down arrow key 3 times, wait 400ms after each press.
presskey(Down, 3, 400)
  1. Press F1 key holding Shift once.
presskey(+F1)
  1. Press F1 key holding Ctrl once.
presskey(^F1)
  1. Write "oldbot rocks".
presskey(oldbot rocks)