Keyword: KEYNAME/KEYCODE - Key type

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: KEYNAME/KEYCODE - Key type

Unread post by YiMeng »

Description
  • Define current line to be key event.
  • KEYNAME identifies key through string/name.
  • KEYCODE identifies key through integer code.
  • Examples.
    • "KEYCODE 2" will return "1"
    • "KEYNAME 2" will return the "2"
    • You can view all the keycodes and keynames by going to menu-strip and choose Help > Key Names

Parameters
  • x: The string of key-name or keycode to be typed
  • Allow the use of "+" for key combinations
  • Allow the use of "," for sequential key presses

Usage
  • KEYCODE x