On 19 Jun 2009, at 16:37, Ian was here wrote:
I think the best way to show an application dock icon's context menu
from within the application itself is to write an AppleScript that
can find the desired application's dock icon, then ask it to show
its context menu.
And how would you
Am 22.06.2009 um 02:46 schrieb Andrew Farmer:
And how would you propose to do that? AppleScript isn't magic
(sadly). It can't do anything that you can't do from code already.
Look at the docs. AppleScript supports GUI scripting, which is a
layer above the accessibility APIs and some other
On Sun, Jun 21, 2009 at 9:19 PM, Uli
Kustererwitness.of.teacht...@gmx.net wrote:
Am 22.06.2009 um 02:46 schrieb Andrew Farmer:
And how would you propose to do that? AppleScript isn't magic (sadly). It
can't do anything that you can't do from code already.
Look at the docs. AppleScript
I think the best way to show an application dock icon's context menu from
within the application itself is to write an AppleScript that can find the
desired application's dock icon, then ask it to show its context menu.
___
Cocoa-dev mailing
I've googled the heck out of this thing, but came up empty handed. Does anyone
know how to make the context menu for the running application's dock icon pop
up?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
Right-click on it, control click on it, or regular-click on it and
hold the button down for a few seconds.
On Fri, Jun 12, 2009 at 2:33 PM, Ian was herehowlew...@yahoo.com wrote:
I've googled the heck out of this thing, but came up empty handed. Does
anyone know how to make the context menu
Maybe we should assume that the goal is to display it programmatically?
I've also wanted to do this and haven't found a way — in one
application, having a left click on the Dock icon show the menu would
have been particularly useful.
On Fri, Jun 12, 2009 at 5:53 PM, Clark Coxclarkc...@gmail.com
Short of simulating a mouse click on the appropriate spot, I don't
think this can be done. Finding what that spot is would also be
difficult; you *may* be able to use the accessibility APIs to
accomplish this, but that would, of course, require that the user had
enabled accessibility.
On Fri, Jun