Skip navigation.
 
mlRe: ScriptingBridgeConcepts problem
FROM : has
DATE : Sat Mar 15 14:50:37 2008

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

Related mailsAuthorDate
mlScriptingBridgeConcepts problem Cocoa Mar 15, 10:53
mlScriptingBridgeConcepts problem Cocoa Mar 15, 13:36
mlRe: ScriptingBridgeConcepts problem has Mar 15, 14:50
mlRe: ScriptingBridgeConcepts problem Jean-Daniel Dupas Mar 15, 14:52
mlRe: ScriptingBridgeConcepts problem Christopher Nebel Mar 17, 16:52