Dock menu or System menu

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Boodlums
Posts: 2
Joined: Sun Aug 14, 2011 1:36 am

Dock menu or System menu

Post by Boodlums » Sun Aug 14, 2011 11:51 am

I saw in the Release Notes that there is experimental support for a Dock menu and also System menu.

1. Can the submenus be dynamically modified?

2. Is there any way to run a command from such menu WITHOUT bringing the app forward? That is, can I display a dialog over the frontmost app and avoid app-switching which would annoy the user?

I am designing a workflow management app, so I want to avoid throwing off the user's workflow. If I harness AppleScript I can do some dialogs for Mac OS, but that wouldn't help Windows or Linux if I were to extend the workflow management support to those platforms.

thanks,
-Walter

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

Re: Dock menu or System menu

Post by Klaus » Sun Aug 14, 2011 8:48 pm

Hi Walter,

first: welcome to the forum! :D

1. Yes!
Check the "iconMenuOpening" message in the dictionary or the "Release Notes (Menu: Help).
You can catch this to generate and set your menu(s) before it pops up.

2. Sorry, no idea!


Best

Klaus

Post Reply

Return to “Mac OS”