• 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: possible to pass direct object param from cocoa to applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Visual compiling, nodes programming ?
  • Next by Date: NSSearchField Categories Menu (bug?!)
  • Previous by thread: possible to pass direct object param from cocoa to applescript?
  • Next by thread: Single Instance of a Cocoa Application.
  • Index(es):
    • Date
    • Thread