Page 1 of 1

Dock menu or System menu

Posted: Sun Aug 14, 2011 11:51 am
by Boodlums
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

Re: Dock menu or System menu

Posted: Sun Aug 14, 2011 8:48 pm
by Klaus
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