Page 1 of 1
Mac OS X and the Application Menu
Posted: Sat Jan 23, 2010 9:17 am
by redpill
Why is it that the Quit item in the Application Menu cannot be implemented properly? It just isn't right that the Quit item shows up in the File menu.
If it has anything to do with Mac OS Classic support -- by all means kill it. Does anyone even create applications to run in Classic anymore?
Re: Mac OS X and the Application Menu
Posted: Sat Jan 23, 2010 12:22 pm
by Dixie
redpill...
launch revolution and make a new stack
From the 'Tools' menu, select 'Menu Builder'
Click on the 'New' button
In the 'Create a New Menu bar' dialog, just click the 'OK' button
Back in the 'Menu Builder' , click the 'Preview in Menu bar' checkbox
Select the 'browse' tool...
you should now see in the menuBar,... the apple Menu, Revolution, File, Edit, Help
The 'Quit' menu item, you will find under the 'Revolution' menu, not the 'file' menu... the 'Revolution' menu will take on the name of your application when you set your standalone settings, and give your stack a 'standalone' name, and build it as a standalone..
be well
Dixie
Re: Mac OS X and the Application Menu
Posted: Wed Jan 27, 2010 1:55 am
by redpill
Thank you, Dixie.
I appreciate the input.
Re: Mac OS X and the Application Menu
Posted: Fri Jan 21, 2011 5:38 am
by kwinkler
Along a similar line......
Is there any way to associate a script with the Quit menu item that is located under the Application menu on a Mac? I don't have a problem with the PC version of the application, because Quit is under the File menu, and a script is associated with that menu item. On a Mac, the Quit menu item gets moved to the Application menu, but the script does not move with the Quit item. All I want to do is make sure the user has saved any changes he may have made before quitting.
Re: Mac OS X and the Application Menu
Posted: Fri Jan 21, 2011 2:40 pm
by Klaus
Hi kwinkler,
you could trap the "shutdownrequest" message in your stack and
do whatever you like before you finally PASS it.
Best
Klaus
Re: Mac OS X and the Application Menu
Posted: Sat Jan 22, 2011 4:53 am
by kwinkler
Hi Klaus,
Thanks for the tip. It worked out fine.
Ken