MASShortcut icon indicating copy to clipboard operation
MASShortcut copied to clipboard

Overwriting shortcut warning only partially working

Open dataexcess opened this issue 6 years ago • 3 comments

Hello,

First of thanks for the awesome library. I am experiencing issues when trying to set a shortcut for my MASShortcutView.

When I try to set "command-n" it correctly displays the following warning: This shortcut cannot be used because it is already used by the menu item ‘New’. When I try "command-shift-n" it does not complain, and the shortcut is set. But that combination is also used by Finder, why did it not detect that? The same goes for other shortcuts, such as "alt-command-L" etc.

Thank you for clarifying.

All the best, J

dataexcess avatar Apr 09 '20 11:04 dataexcess

Neither shortcut is global: they are handled only when the Finder application is active. It's impossible (without employing intrusive malware-alike actions) to determine shortcuts used by other apps.

Kentzo avatar Apr 09 '20 17:04 Kentzo

Thanks @Kentzo 👍

shpakovski avatar Apr 11 '20 08:04 shpakovski

Ok @Kentzo thank you for clarifying. I guess the command+n shortcut overwrite was originating from the hidden menu in my own application and I mistook it for finder's command.

dataexcess avatar Apr 11 '20 10:04 dataexcess