Scripting Bridge
April 27th, 2009
12 comments
Say you want to talk to another app through Applescript. With 10.5, you can much more easily get there from Cocoa without complex forays into CoreServices, Carbon and AppleEvents. The docs on how to do it are a little thin at times (as all Applescript docs are), so let’s walk through it. The relevant docs you’ll want to read are these:
Scripting Bridge Framework Reference
And most importantly (and most hidden):
And now for a step-by-step example. We’re going to send some mail with an attachment through Mail.app. Read more…