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: Jon Pugh <email@hidden>
- Date: Wed, 19 Jul 2006 08:35:08 -0700
At 9:49 AM -0400 7/19/06, Philip Lukidis wrote:
>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?
Sort of. OSADoEvent specifically allows you to send an AppleEvent of your construction to a script. So yes, you'll need to construct a valid AE which your script can handle.
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden