Re: [Slightly OT] Scripting Bridge in Leopard
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):
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
|
_______________________________________________
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