• 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: [Slightly OT] Scripting Bridge in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Slightly OT] Scripting Bridge in Leopard


  • Subject: Re: [Slightly OT] Scripting Bridge in Leopard
  • From: has <email@hidden>
  • Date: Wed, 31 Oct 2007 15:18:50 +0000

Rob Stott wrote:

I guess this is kind of off topic,

Maybe a little, but it's certainly in keeping with the spirit of applescript-users, and in the absence of a dedicated list I should think that here or cocoa-dev is as appropriate a forum as you'll get. I imagine Chris Nebel or the list mom will point you to a more appropriate forum if they feel it strays too far.


but as it relates to automating apps in Mac OS X... Has anyone had a play with Scripting Bridge?

Briefly. I'm hoping to write up a more thorough critique sometime next month, time-willing but so far I'm unimpressed; of the maybe dozen or so high-level bridges I've used/studied/written myself, I'd currently rate it in the bottom two.


I was wondering if it might have any advantages over AppleScript for automation but so far I can't even get the example in the 'Scripting Bridge Programming Guide' to work.

What language and applications you using? I've managed to get a couple simple Finder/TextEdit test scripts to work in Ruby, although I haven't tried it via Python or ObjC yet and I've already seen reports of it breaking on iTerm, Fetch and Garageband and expect quite a few more compatibility problems will be getting thrown up now that it's out in the wild.


I'm thinking I'm probably missing something obvious (pretty likely!). Anyone got a sample 'Hello World' type thing they'd be prepared to share?

There are some basic ObjC/Ruby examples here (latter needs free ADC login):

http://developer.apple.com/releasenotes/ScriptingAutomation/RN-ScriptingBridge/index.html

https://developer.apple.com/leopard/devcenter/docs/documentation/Cocoa/Conceptual/RubyPythonCocoa/index.html

If you'd like to see their AppleScript and/or appscript equivalents, let me know and I'll try to find some time at the weekend to write them up.

HTH

has
-- 
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: [Slightly OT] Scripting Bridge in Leopard
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: [Slightly OT] Scripting Bridge in Leopard
  • Next by Date: Re: Which app to target?
  • Previous by thread: [Slightly OT] Scripting Bridge in Leopard
  • Next by thread: Re: [Slightly OT] Scripting Bridge in Leopard
  • Index(es):
    • Date
    • Thread