Am 03.05.2008 um 12:09 schrieb Patrick J. Collins:
I am assuming there is something in interface builder that you need
to do to
accomplish this, but I just don't know what it is.
No, not in IB. AppleScript in general doesn't script the UI, but
rather what is the controller layer in a Cocoa app. So, what you need
to do is create a scripting definition (.sdef and stuff like that)
that maps AppleScript command names to methods on your controller
object. http://developer.apple.com has some nice documentation on
making Cocoa applications scriptable this way, using NSScriptCommand
where you need to add your own commands that don't have objects
associated with them.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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 [EMAIL PROTECTED]