• 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: NSAppleScript question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Problem with cblas_sgemm in 64 bit build
  • Next by Date: Re: NSAppleScript question
  • Previous by thread: Re: NSAppleScript question
  • Next by thread: Re: NSAppleScript question
  • Index(es):
    • Date
    • Thread