Re: NSAppleScript question
Re: NSAppleScript question
- Subject: Re: NSAppleScript question
- From: Matt Neuburg <email@hidden>
- Date: Wed, 04 Jun 2008 11:19:28 -0700
- Thread-topic: NSAppleScript question
On Wed, 4 Jun 2008 21:09:53 +1000, Matthew Delves <email@hidden>
said:
>Greetings and salutations,
>Is there a way to pass arguments into an AppleScript file using
>NSAppleScript and other cocoa/obj-c classes?
>
>The reason that I ask is I am wanting to find out the path to a song
>in iTunes. I have a script which does this for hard coded values,
>though am uncertain as to how to accomplish it (or if it is indeed
>possible) using NSAppleScript.
I think what you're asking to do is what I illustrate on pp. 478-9 of my
AppleScript book (though I can't quite be sure from the way you describe
it). Or you could just google on "executeAppleEvent" to find out more. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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