Keyword: REMAP - Replace input 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: REMAP - Replace input keys

Unread post by YiMeng »

Description
  • Replace/swap keys in the command with another.
  • This is different and offers granular control than the "Remap setting".
    • Remap setting effects per macro.
    • Remap keyword allows you to replace all key occurrences within a line of the script.

Parameters
  • x: The remap configurations or assignments.
    • Can be separated by the ":" colon symbol
    • Cannot include spaces
  • y: The line command.

Usage
  • REMAP x y
  • REMAP 1=a 123
    • Will replace all occurrences of "1" keys with "a" key then run the line command "123" outputting "a23".