Cocoa wrote:

I am reading the Scripting Bridge Concepts.pdf, when I doing this in the terminal i got a error


>sdef /Applications/Mail.app | sdp -fh --basename Mail ( what I type in the Terminal)
>sdp: unknown type name "OLD message editor". (computer responses)

Scripting Bridge behaves rather differently to AppleScript (which is what scriptable applications are traditionally developed and tested against) and is somewhat prone to application compatibility problems as a result. Try objc-appscript instead - it's deliberately designed to mimic AppleScript's behaviour as closely as possible (quirks and all), making it much more reliable. It also has a cleaner API, supports Panther onwards, and is MIT-licensed so you can freely include it in your application bundles for distribution. See my sig. for more info and links.

HTH

has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________

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]

Reply via email to