Page 1 of 1

Keyword: HOLD - Press/Hold keys

Posted: Thu May 20, 2021 12:50 am
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.