• 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: Scripting Bridge running method passing an array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Bridge running method passing an array


  • Subject: Re: Scripting Bridge running method passing an array
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 30 Oct 2009 14:38:52 -0700

On Fri, Oct 30, 2009 at 2:35 PM, has <email@hidden> wrote:
> No, the OP's code is passing a *single* reference that identifies *all* of
> the speaker objects that match the specified condition.

No.  Here is the OP's code:

NSArray *setTheSpeaker;
      setTheSpeaker = [[NSArray alloc]
initWithObjects:connectToThisSpeaker, nil];
[Airfoil connectTo:setTheSpeaker password:nil];

You are confusing that with the AppleScript he tried to emulate.  I
accurately described what the code he posted did, and that it did not
line up with what he was trying to do.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: Scripting Bridge running method passing an array
      • From: has <email@hidden>
References: 
 >Re: Scripting Bridge running method passing an array (From: has <email@hidden>)

  • Prev by Date: Re: Can't Remove Observer Was: Re: Core Data not fulfill a fault (now: observer) after Save As
  • Next by Date: making the NSScrollView align its subview to the top-left corner
  • Previous by thread: Re: Scripting Bridge running method passing an array
  • Next by thread: Re: Scripting Bridge running method passing an array
  • Index(es):
    • Date
    • Thread