fred august
fred august

Reputation: 1107

Load different menubars for PC vs Mac users

Each entry in the menubar for my app contains a shortcut key suggestion (e.g. Undo (CTRL+Z)). Is there an easy way to dynamically customize the suggestion string depending on whether the app is being used on a pc or on a mac?

thank you

f

Upvotes: 0

Views: 52

Answers (1)

weltraumpirat
weltraumpirat

Reputation: 22604

Use Capabilities.version to get the version information. The first three letters will tell you the host platform ("WIN", "MAC", or "LNX"). Use a string variable to store the text information ("Ctrl" or "Cmd") for your suggestion accordingly.

Upvotes: 1

Related Questions