• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ScriptingBridgeConcepts problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ScriptingBridgeConcepts problem


  • Subject: Re: ScriptingBridgeConcepts problem
  • From: has <email@hidden>
  • Date: Sat, 15 Mar 2008 13:50:37 +0000

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 (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


  • Prev by Date: Re: NSWrapper Plus Plain text files
  • Next by Date: Re: ScriptingBridgeConcepts problem
  • Previous by thread: ScriptingBridgeConcepts problem
  • Next by thread: Sorting arrays with strings
  • Index(es):
    • Date
    • Thread