OK, the CGEventCreateMouseEvent() I described in my previous message seems to work, except for one detail. How to I find the location of, in particular, a Status Menu item, in CG "global" coordinates? It looks like that's the hardest part!
Jerry On 2011 Oct 09, at 14:16, Jerry Krinock wrote: > Update: I'm "borrowing" the mouse using CGEventCreateMouseEvent(). It seems > like it might work, but sure seems like a kludge, and many lines of code to > do something very simple. > > Any better ideas would be appreciated. > > On 2011 Oct 09, at 12:31, Jerry Krinock wrote: > >> Is there any code which can *click* a menu, to give it keyboard focus, so >> that the user may then select an item in the menu using arrow keys? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com