Page 2 of 2

Re: AppLauncher - MacOS files launcher

Posted: Fri Mar 22, 2024 4:59 pm
by bn
Zax wrote:
Thu Mar 21, 2024 10:38 am
I'm still unable to disable Cmd-Q Apple menu shortcut.
Hi Zax,

I tried to make a minimal standalone with the command-Q shortcut disabled.

I selected "Disabled" in Menu Builder for the File Menu

setDisabled.jpg

Before compiling I set via "Menu Builder" (that seems to do the trick)

setAsStackMenubar.jpg
setAsStackMenubar.jpg (16.3 KiB) Viewed 680 times

Button Quit works in Standalone

Kind regards
Bernd

Re: AppLauncher - MacOS files launcher

Posted: Fri Mar 22, 2024 5:18 pm
by Zax
Thank you Bernd for your answer.

I just compiled your sample stack with 9.6.11: though menu-article "Quit" is not greyed, it is disabled and that's not what I am looking for.
I'm trying to disable the keyboard shortcut (cmd-Q), not the menu article.

Previous Stam's script works to disable the keyboard shortcut, but this shortcut is not greyed and this could be confusing for users.

Re: AppLauncher - MacOS files launcher

Posted: Fri Mar 22, 2024 5:32 pm
by bn
Zax,

I probably misunderstood what was asked.

Kind regards
Bernd

Re: AppLauncher - MacOS files launcher

Posted: Fri Mar 22, 2024 8:02 pm
by Zax
I must admit that my question is rather unusual, as well as my English ;)

Re: AppLauncher - MacOS files launcher

Posted: Fri Mar 22, 2024 8:12 pm
by Klaus
I think the shortcut is added by the operating system, no matter if we leave it out in our LC menu or not.
It is a macOS standard in the end.

Re: AppLauncher - MacOS files launcher

Posted: Fri Mar 22, 2024 8:13 pm
by bn
Klaus wrote:
Fri Mar 22, 2024 8:12 pm
I think the shortcut is added by the operating system, no matter if we leave it out in our LC menu or not.
It is a macOS standard in the end.
I beg to differ. Try the stack and see the command-Q does not close the standalone.

Kind regards
Bernd

Re: AppLauncher - MacOS files launcher

Posted: Fri Mar 22, 2024 9:34 pm
by Klaus
Ah, sorry, looks like I probably misunderstood what was asked this time! :-)