I’m trying to set up hotkeys to use left and right arrow keys.
On MBS website it says,
Plugin has a **list** based on the constants defined by Apple and Microsoft for keys.
Where do I find this list so I can find the KeyCodeForText for the arrow keys?
On macOS there is the nice Key Codes App (in App Store)
The app doesn’t give me the KeyCodeForText string the left/right arrow keys.
I’ve tried ‘left’ and ‘right’, but nothing happens.
dim keyCodeReturn as integer = HotKeyMBS.KeyCodeForText("right")
dim keyCodeF5 as integer = HotKeyMBS.KeyCodeForText("left")
LeftArrow and RightArrow are what you’re looking for.
It looks like this is the full list of strange keys (it would be handy if these were published in the docs)
Return
Space
Delete
Escape
Command
Shift
CapsLock
Option
Control
RightShift
RightOption
RightControl
Function
VolumeUp
VolumeDown
Mute
Help
Home
PageUp
ForwardDelete
PageDown
LeftArrow
RightArrow
DownArrow
UpArrow
Equal
Minus
RightBracket
LeftBracket
Quote
Semicolon
Backslash
Comma
Slash
Period
Grave
KeypadDecimal
KeypadMultiply
KeypadPlus
KeypadClear
KeypadDivide
KeypadEnter
KeypadMinus
KeypadEquals
Keypad0
Keypad1
Keypad2
Keypad3
Keypad4
Keypad5
Keypad6
Keypad7
Keypad8
Keypad9
2 Likes
Thank you!
For some reason, using the Control key as a modifier wasn’t working, but Option, and Command did.
Some other program might be using CTRL + left/right arrows.
Ohhh, I can tell you that is a very old issue. My global music change hotkeys have been option left/right for more than a decade because of that.
2 Likes
Control left and right switches between spaces/desktops and I don’t think there is a way to change that shortcut, so I guess the system owns that combo…
1 Like
My eternal battle with Xojo, summed up:
Its either
- Why the hell isnt it working?
Or
- Why the hell is that working?