B4J Question Set different shortcuts for macOS and Windows

xulihang

Active Member
Licensed User
Longtime User
macOS has the command key which Windows does not have.

I need to set different shortcuts for macOS and Windows like this:

macOS: Command + S
Windows: Control + S

I am using the designer menu items to set up the shortcuts. I wonder if it is possible to set different shortcuts for macOS and Windows.
 
Solution
You can try with 2 layouts for mac and windows. And use this code to load the needed layout.

jahswant

Well-Known Member
Licensed User
Longtime User
You can try with 2 layouts for mac and windows. And use this code to load the needed layout.

 
Upvote 1
Solution

xulihang

Active Member
Licensed User
Longtime User
Thanks. I replace "CONTROL" to "SHORTCUT" in the JSON of the mac layout and it works.
 
Upvote 0
Top