Skip navigation.
 
mlRe: possible to pass direct object param from cocoa to applescript?
FROM : Matt Neuburg
DATE : Wed Jul 19 19:27:32 2006

On Wed, 19 Jul 2006 09:50:02 -0400, "Philip Lukidis"
<<email_removed>> said:
>Hello.
>
>I need to be able to pass a direct object parameter from my cocoa application

to a script which would be talking to iTunes.  Is this possible?  I have been
able to pass simple parameters from cocoa to AS (like numbers and strings), but
so far not objects.  For example, I need to be able to play any track whose
object I have already queried.
>
>Are raw Apple Events my only recourse?


Not quite sure what you're asking, since I can't imagine how you are passing
a parameter to a script without using Apple Events. However, if you mean
what I think you mean, this thread might help:

<http://www.archivesat.com/Creating_Scriptable_applications_and_OSA_language
s/thread537382.htm
>

m.

--
matt neuburg, phd = <email_removed>, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>

Related mailsAuthorDate
mlpossible to pass direct object param from cocoa to applescript? Philip Lukidis Jul 19, 15:50
mlRe: possible to pass direct object param from cocoa to applescript? Matt Neuburg Jul 19, 19:27