AppLauncher - MacOS files launcher

A place for you to show off what you have made with LiveCode

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4003
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: AppLauncher - MacOS files launcher

Post by bn » Fri Mar 22, 2024 4:59 pm

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 376 times

Button Quit works in Standalone

Kind regards
Bernd
Attachments
testQuit-standalone.livecode.zip
(1.54 KiB) Downloaded 13 times

Zax
Posts: 474
Joined: Mon May 28, 2007 10:12 am
Location: France
Contact:

Re: AppLauncher - MacOS files launcher

Post by Zax » Fri Mar 22, 2024 5:18 pm

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.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4003
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: AppLauncher - MacOS files launcher

Post by bn » Fri Mar 22, 2024 5:32 pm

Zax,

I probably misunderstood what was asked.

Kind regards
Bernd

Zax
Posts: 474
Joined: Mon May 28, 2007 10:12 am
Location: France
Contact:

Re: AppLauncher - MacOS files launcher

Post by Zax » Fri Mar 22, 2024 8:02 pm

I must admit that my question is rather unusual, as well as my English ;)

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: AppLauncher - MacOS files launcher

Post by Klaus » 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.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4003
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: AppLauncher - MacOS files launcher

Post by bn » Fri Mar 22, 2024 8:13 pm

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

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: AppLauncher - MacOS files launcher

Post by Klaus » Fri Mar 22, 2024 9:34 pm

Ah, sorry, looks like I probably misunderstood what was asked this time! :-)

Post Reply

Return to “Made With LiveCode”