Applescript to open itunes at 7am and set radio to send to airplay speaker

Discussion in 'Mac Programming' started by gordo5150, Apr 23, 2014.

  1. gordo5150 macrumors newbie

    Aug 3, 2010
    I have no idea how to do this applescript but basically i want to do the following:

    1. 7am everyday launch itunes
    2. Set itunes radio station to "XXXXX"
    3. Send the stream to "Bathroom" and "Bedroom" Airplay Speakers at volume 50%
    4. 9am quit itunes

    is this possible to do? any help is greatly appreciated.
  2. kryten2 macrumors 6502a

    Mar 17, 2012
    To get you started take a look at the links. There are numerous ways of running something on a scheduled interval so I suggest you look at Automator and an iCal alarm for starting and stopping iTunes. As you get more experienced you could look into launchd and launch agents.

    Info : project-change-airplay-speakers-change-eq and set-individual-airplay-device-volume-using-applescript

Share This Page