Re: possible to pass direct object param from cocoa to applescript?
Re: possible to pass direct object param from cocoa to applescript?
- Subject: Re: possible to pass direct object param from cocoa to applescript?
- From: Matt Neuburg <email@hidden>
- Date: Wed, 19 Jul 2006 10:27:32 -0700
- Thread-topic: possible to pass direct object param from cocoa to applescript?
On Wed, 19 Jul 2006 09:50:02 -0400, "Philip Lukidis"
<email@hidden> 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@hidden, <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>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden