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 12, 2009 at 3:50 PM, Sidney San Martín<[email protected]> wrote:
> 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 Cox<[email protected]> wrote:
>> 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 here<[email protected]> wrote:
>>>
>>> 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?



-- 
Clark S. Cox III
[email protected]
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to