On Thu, Oct 29, 2009 at 11:54 PM, Scott <scottsc...@gmail.com> wrote: > Thanks for the response Kyle. I will ask Rogue. This is how you send > commands via AS > > tell application "Airfoil" > > -- Connect to Airport Express > connect to (every speaker whose name is "Computer") > > end tell
Ah, this would be a problem… your code is trying to pass an NSArray with an NSString in it, whereas the command wants an NSArray containing references to "speaker" objects. You're going to need to read the Scripting Bridge documentation a bit more thoroughly. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com