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: Uli Kusterer <email@hidden>
- Date: Mon, 22 Jun 2009 03:19:13 +0200
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 related things that
lets you determine dimensions of onscreen items, simulate clicks in
them etc.
So, you *can* do all of that in code, but in this case putting up with
AS's broken syntax is probably a better option than trying to do the
right thing yourself.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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