Re: Show the dock icon's context menu
Re: Show the dock icon's context menu
- Subject: Re: Show the dock icon's context menu
- From: Clark Cox <email@hidden>
- Date: Fri, 12 Jun 2009 16:11:29 -0700
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@hidden> 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@hidden> 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@hidden> 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@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden