Skip navigation

Automator work flow and iTunes

1589 Views 7 Replies Latest reply: Mar 3, 2013 2:30 AM by Badrakumar RSS
Badrakumar Calculating status...
Currently Being Moderated
Jan 9, 2013 3:03 PM

I want to creat a automator work flow to start itune at a specified time daily and ply the songs in the specified playlist for an hour and then stop.


In the automator actions I found "Find iTunes Playlist" and Start iTunes Playing". But the other bits to do the full sequence that I need are missing.


Please help me how to go about it.





iMac, OS X Mountain Lion (10.8.2)
  • HD Level 4 Level 4 (3,240 points)
    Currently Being Moderated
    Jan 13, 2013 2:21 PM (in response to Badrakumar)



    Here's one way.


    In Automator, create a Calendar Alarm. This will have two actions from the Music library.


    The first will be "Get Specified iTunes items". Click the Add... button in the action pane and specify your playlist.


    The second action will be "Play iTunes playlist". You don't need to modify this, just make sure it's second in the workflow.


    Save and close this Calendar Alarm, calling it something like "Play my Playlist". Calendar will activate and will create a new calendar called "Automator" if it doesn't already exist.


    In Calendar, schedule this Alarm for every day at waking-up time.


    Go back to Automator and create a second Calendar Alarm. This will have a single action, "Run AppleScript" from the Utilities library. Delete all the text in the action ("On run... yadda yadda... End run"). Type in a single line:


    tell application "iTunes" to quit


    Save this Alarm, calling it something like "Stop iTunes", and again you'll be taken to Calendar. Schedule the Stop iTunes alarm daily to run an hour after the first alarm.


    Hope this helps,



  • HD Level 4 Level 4 (3,240 points)
    Currently Being Moderated
    Feb 22, 2013 12:10 PM (in response to Badrakumar)



    1) You can schedule a system wake time from System Preferences - Energy Saver (click the Schedule button). But if you have set a login password you would still need to type it in when the Mac wakes up.


    2) Have you definitely selected a playlist in the first action? If you click any track names in the dialog below, only those tracks will play.


    Screen Shot 2013-02-22 at 19.13.52.png


    You might also want to experiment with the Shuffle and Repeat buttons in the action.


    Screen Shot 2013-02-22 at 19.26.55.png


    3) Not sure about that one - it works fine for me over Airport.





  • HD Level 4 Level 4 (3,240 points)
    Currently Being Moderated
    Feb 26, 2013 10:57 AM (in response to Badrakumar)

    Calendar workflows are in <User>/Library/Workflows/Applications/Calendar. The user library folder is hidden by default. To access it, hold down the Alt (Option) key while clicking the Finder's Go menu.


    You can also open recent items from within Automator:


    Screen Shot 2013-02-26 at 18.55.11.png


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.