• 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: SB won't create an element on 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SB won't create an element on 10.5


  • Subject: Re: SB won't create an element on 10.5
  • From: "hengist.podd e-mail" <email@hidden>
  • Date: Thu, 19 Nov 2009 14:02:50 +0000

Fritz Anderson wrote:

> Otherwise, it looks like I'm caught in a crack between AppleScript, 10.5 Scripting Bridge, and Entourage. I may have to fall back to textual scripts (or, Lord help me, chains of AppleEvents and descriptors). It was nice while it lasted (and I should credit 10.6 for the improved handling).

Try objc-appscript (http://appscript.sourceforge.net); works on 10.4
and later, and closely mimics the way that AppleScript builds Apple
events so is far less prone to application compatibility problems than
SB. Implementation is reasonably solid (I need to deal with various
compiler warnings when building for 64-bit on 10.6, but 32-bit is
fine), and it's based on a very mature, proven design.

You also get better documentation and dev tools (ASDictionary and
ASTranslate). If you already know how to write a working command in
AppleScript, you will find ASTranslate especially helpful in
converting it to its ObjC equivalent.

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: Vector images on Cocoa
  • Next by Date: Core Data: Simply set NSMigratePersistentStoresAutomaticallyOption in a Document?
  • Previous by thread: Re: SB won't create an element on 10.5
  • Next by thread: Re: SB won't create an element on 10.5
  • Index(es):
    • Date
    • Thread