Applescript Support for Airplay?

Does anyone know if there is direct support for controlling Airplay speakers in iTunes via Applescript?
I know there are hacks to select the desired Airplay speaker using keypreses and manipulation of the speakers via the iTunes UI. However, this isn't a great way to do it, as the ordinal references to the UI elements can change with each iTunes update, and the context you are in (e.g. Album list view, or tracklist view) can affect the ordinal reference of the Airplay button too.
An Applescript one liner would be nice to control Airplay speakers if the command is being called from the osascript utility.
Any suggestions welcome. Thanks!

Apart from the hacks you mention, I don't know a way to script iTunes' Airplay choice.
However, Rogue Amoeba's Airfoil is scriptable - so if you use it to grab the iTunes output you can direct the sound where you wish using AppleScript.
Not ideal, but it does work.

Similar Messages

  • HT201335 I have a MacBook Air that was bought April 5, 2011. It seems it should be supported for Airplay mirroring but I can't get it to work and I do not have the icon on my bar. Any suggestions?

    I have a MacBook Air that was bought April 5, 2011. It seems it should be supported for Airplay mirroring but I can't get it to work and I do not have the icon on my bar. Any suggestions?

    Welcome to the Apple community.
    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). It also requires the computer to be using wi-fi.

  • Please, can Apple give explanations about dropping Applescript support for Pages 13!!??? It is paramount, please do something to fix it asap!!!

    Please, can Apple give explanations about dropping Applescript support for Pages 13!!??? It is paramount, please do something to fix it asap!!!

    You might want to check your firmware version. Go to: Settings>General>About. Look at the version field, it should be: 5.0.1(9A406). If it's 9A405 you need to update the firmware by connecting your phones to iTunes and updating it. This worked for me as I work on a ship and don't have a signal inside. I was having to do your little trick many times during the day when I would go outside to check for messages.

  • Dropping Applescript support for Pages

    apple new suite is grate!, but as it does not have Applescript support for Pages I can no longer use my citations tools and that makes pages '13 useless for me. Are you going to fix that at any time soon?

    PeterBreis0807 wrote:
    Hard to add AppleScript support for things that simply are not there.
    True. However, if you look at the Applescript dictionary for Pages '09, most of the objects are still there in the UI in Pages 5 even though there is no way of scripting them. It seems there simply was no time to get them into the scripting dictionary. The citation tools of Guchi922 may not be supported, however.
    If Apple implements all the objects they can in Pages 5' scripting dictionary, another question arises: Will there be much compatibility with scripts written for Pages '09, and there I do not dare being an optimist.

  • Applescript support for future CS

    Hi,
    I was asked by a customer if Applescript is going to be still supported in the next CS versions (starting from CS5).
    As Adobe is focusing more and more on Flex/AS3 for extensions, the question has made sense to me. So I ask here.
    Do you have any infos on that topic ? Will Applescript be supported for ever, is it planned to be abandoned ?
    Loic

    I would love to see Applescript support within Bridge, as I need to integrate Bridge, Filemaker, BBEdit, and OmniPlan into a start to finish workflow system. Javascript just doesn't cut it as it relates to file handling/manipulation.
    Kurt Jones
    [email protected]

  • AppleScript support for Bridge

    We have quite an investment in very mature workflows built using Illustrator, InDesign and Photoshop that are driven by AppleScript. As one of the advance testers for CS2 deployment in the company, I can already imagine several things that Bridge might bring to the party... If only it would play nice in our AppleScript environment.
    Here's my vote for AppleScript support in Bridge!
    Mark Leslie
    Production Art Manager
    Reebok

    I would love to see Applescript support within Bridge, as I need to integrate Bridge, Filemaker, BBEdit, and OmniPlan into a start to finish workflow system. Javascript just doesn't cut it as it relates to file handling/manipulation.
    Kurt Jones
    [email protected]

  • IPhoto 08  & AppleScript - support for set rating?

    I am considering upgrading iPhot from 06 to 08..
    So I don't have 08.
    Can anyone confirm whether or not the AppleScript support has been improved to allow for setting the Rating of photos via AppleScript?
    Thanks!
    Steve

    Steve:
    Still no rating support via AS. I cannot find anything new in the AS dictionary since the latest edition. Perhaps with Leopard???

  • Adding support for AirPlay to Time Capsule network

    Right now my Time Capsule (hard drive no longer in use) is connected to my cable modem and provides a wireless network for the entire house.  The Macs all connect via wifi, and the one Windows machine uses a previous model Airport Express to provide an ethernet connection.  The modem is moving about 15' away from the center of the house to a cabinet that will also contain my A/V equipment, and I want to provide a way to stream music through the A/V equipment without connecting a computer.
    I'm thinking that I need an Airport Express connected to the A/V equipment to support AirPlay.  I could simply replace the Time Capsule with the AE, as long as the range of the AE is sufficient.  What would I lose in this configuration?
    If the range of the AE is not sufficient, I think I could use the TC as a repeater.  OTOH, now I'm up to three base stations (old AE, new AE, TC); would that necessarily lead to poor wireless performance?
    If the TC has more range than the AE, then I guess I could connect the TC to the cable modem, then go ethernet to the AE, although some posts here indicate that it may not be possible to turn off the wireless on the AE.
    Any suggestions as to a reasonable approach?

    Digging through the documentation I found some clues:
    The 2nd generation Airport Express outputs 20.5 dBm max, compared to 20 dBm nominal for my Time Capsule.
    The 1st gen AE runs either 2.4 GHz or 5 GHz.
    The Time Capsule and 2nd gen AE run both simulateously.
    The Time Capsule has three ethernet LAN ports while the AE has one.
    It appears that the 2nd gen AE could replace my Time Capsule (being used as an Airport Extreme) and adds AirPlay and the guest feature. 
    Am I missing anything?

  • AppleScript support for Mail Merge

    how can I Create mail merge on new pages

    Mail Merge is not built into any version of Pages v5, as it was in Pages ’09 v4.3. Instead, one must understand AppleScript to simulate Mail Merge. Here is an example article and code.

  • How do I configure airport express to use HD TV speakers for airplay audio streaming?

    I'm trying to configure my airport express to use the speakers on my HDTV for audio airplay streaming.  I have an aux to dual component cable (red and white) that I've been using when I attach my Macbook Pro to my HDTV as a second monitor.  They work fine for audio in this case.  I figured I could just take the aux end of this cable, plug it into the airport express, and select the correct input from my TV menu and I'd have audio.  However, it's not working.  I took another speaker system I have around the house and plugged that into the airport express to make sure the airplay streaming is configured correctly and that worked fine.  Any ideas why it won't work to my TV?  Thanks.

    To do what  you want using any of the recent versions of AirPort Utility for the Mac, it will be a two part process.
    1) Connect the AirPort Express using Ethernet and configure it to "create a network". Any network name will do. Update to save the configuration.
    2) Once that has been done, go back into AirPort Utility and manually turn off the wireless function of the AirPort Express.
    Now you have an AirPort Express that connects using Ethernet while providing support for AirPlay, which is enabled by default on the Express. 

  • Applescript support?

    The KB article about what is coming in the next 6 months lists "Improvements to AppleScript support" for Numbers 3.0.  AppleScript Editor tells me Numbers 3.0 is unscriptable.  So by "improvements to AppleScript support" does Apple mean "Bringing back Applescript support" or am I missing something? Is there any AppleScript support in Numbers 3.0 now?

    Hello
    Note that the said article [1] states nothing about any improvements to AppleScript support in Pages v5 and yet the existing AppleScript support in Pages v5 is reportedly miserable one, which lacks the decent objects model and decent methods to manipulate them. It would suggest the degree of "improvements to AppleScript support" in Numbers v3.
    Another thing to note is that iToy platform does not support AppleScript at all and thus implementing extensive scripting support in Numbers for Mac would contradict their obssessed scheme to have a common (divisor) software for both platforms. It would suggest the AppleScript support in Numbers v3 would never be better than in Numbers v2 at the most which itself is very limited to say the least.
    After all, it seems quite clear to me that Apple has effectively killed iWork for Mac by degenerating it into iToy version. From my experience I no longer see any future in this programme suite as productivity work horse.
    [1] http://support.apple.com/kb/HT6049
    Just my thought,
    H

  • Airplay not supported for NBC with the ios7 upgrade

    Upgraded to ios7 for my iphone 4s and when trying to view NBC shows, error message is received indicating that Airplay is not currrently supported.  Airplay is/was supported for my ipad 3 for NBC, but the upgrade to ios7 on the iphone 4s seems to be problematic and I cannot view the shows but I can only hear them (no visual/only audio is received).
    Is there a fix for this problem?  I am really disappointed that this is happening since all the other channels work, except NBC.
    Please advise.
    JANT
    Message was edited by: JANT-NC

    Is Apple working on a fix for editing photos for wallpaper, call contacts with photo, etc?
    How would we know?
    What's broken that you think needs to be fixed?
    Anyway to go back to ios6?
    No

  • Add support for queuing to the applescript dictionary

    In my office, we use Hubot, a node server and some applescript to control an instance of Spotify running on a communal Mac Mini. While this is really awesome, it would be even cooler if the applescript library supported queueing songs :)
     

    I have also previously requested enhancements to the applescript interface. 
    Queueing and playlist support would be amazing.
    https://community.spotify.com/t5/Live-Ideas/Desktop-Other-Enhance-AppleScript-support-on-Mac/idi-p/1141324

  • DirectTV lack of support for Apple TV channels

    Is there a common site to file a complaint with DirectTV over the lack of support for AppleTV channels?  Or do I have to go to each channels site?
    Thanks for any help!
    Regards,
    -Brian

    Welcome to the Apple community.
    The Apple TV 1 is very much different than the later Apple TV is. For a start it doesn't support homesharing or airplay. It doesn't have many features of the later Apple TV is such as iTunes march, MLB, WSJ, photo stream and others. Additionally, it does not support re-downloading of TV shows and movies (US only).
    It's also plays lower resolution video only.

  • Audio is not working for airplay.

    Audio is not working for airplay. I tried changing the audio output in system preferences to Apple TV both before and after turning on Air Play as suggested in earlier discussion threads. That did not work.

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/ts4215
    -Griff W.

Maybe you are looking for

  • Credit block of ship-to-party

    Hi thr, I have this strange problem where a credit block is coming up on Ship-to. This custoemr has account grp as 0002 which is an exclusive ship-to and when I use VA01 and try to create a sales order and first input ship-to it says order receipt/de

  • When opening url which is already open in another window I want a new instance of this url not to be taken to existing window for this url

    I often need multiple instances of the same page open at the same time. I write pages that run complex php/javascript tasks and I need multiple instances open concurrently. The new default ( the latest version of firefox) does not seem to allow this

  • ABAP MAPPING TESTING

    How can I test an ABAP mapping where the input file is a flat file (fieldfixed length file)? Kindly give me the detailed steps for doing so.

  • Placing clips made in iMovie into iDVD dropzones

    I am trying to move clip segments I make in iMovie to the drop zones in iDVD. I can make smaller clip segments from the clips in iMovie using the "split video at playhead" feature. I then place those new segments in the clip section on the right in i

  • XServe without a rack

    Hello Mac Community, Is is it safe to run an XServe on a flat and stable surface? Does it need to be installed in a rack? We have a single intel quad core unit, and are waiting for an appropriate time to get a rack installed in the office. However, u