Quote:
Originally Posted by JonasHAnd
May I ask, how did you get the numbers?
|
Sure, let's have a look at KEY 9 87 40860 0
KEY =
key shortcut
9 =
Code for Modifier Key (combination) (Alt/Opt, Ctrl, Shift, Cmd, Cmd+Shift, etc.) -> in this case Cmd
87 =
ASCII Code for the key -> in this case 87 = W
40860 =
Action ID -> 'Close current project tab'
Changing the first number changes the Modifier Key, As example:
KEY 1 87 40860 0 --> 1 = no Modifer => action is triggered just by pressing 'W'.
KEY 5 87 40860 0 --> 5 = Shift Modifier => action is triggered by pressing 'Shift+W'
You can probably find out the
second number (key code) directly by looking at an ASCII table:
http://www.ascii-code.com/
But the easier way to
find out the first two numbers (modifier + key code) is by simply assigning an action via the Action List to just a key ('W') or a modifier+key ('Shift+W' or 'Cmd+Shift+W'). Then search the reaper-kb.ini for the entry with the corresponding Action ID and check the newly generated numbers ...
To get the
Action ID, you can Right-Click on an action in the Action List and choose 'Copy selected action command ID'. Then paste the copied ID into the file.
Or Right-Click - > 'Show action IDs' to display the ID column and enter the shown value manually.