Keyword: HOLD - Press/Hold keys

Keywords are used within scripts that enabled powerful features such as dynamic variables, clipboard manipulation, read/write files, mimic inputs and more.
User avatar
YiMeng
Author
Posts: 235
Joined: Sat Jul 18, 2020 10:58 pm
Location: NY
Contact:

Keyword: HOLD - Press/Hold keys

Unread post by YiMeng »

Description
  • Define keys to be pressed and hold.
  • Keys are automatically released if triggered in another event
  • Uses "KEYNAME/KEYCODE" to specify keys.
    • You can view all the key codes by going to menu-strip and choose Scripts > Keynames

Parameters
  • x: delay to release in milliseconds.
  • y: The string of the key-name(s) or keycode(s).
  • Allow the use of "+" for key combinations
  • Allow the use of "," for sequential key presses

Usage
  • HOLD x y
  • ex. HOLD 200 shift
    • Hold shift key for 200 millisecond.