MacMost Now 329: Schedule Podcast Updating with AppleScript

Instead of letting iTunes update podcasts every hour or in the middle of the day, you can schedule iTunes to check at night. Using a simple AppleScript and scheduling it to run with iCal you can have new podcast episodes waiting for you when you get to your Mac in the morning.

Comments: 11 Responses to “MacMost Now 329: Schedule Podcast Updating with AppleScript”

    seyDoggy
    10 years ago

    You say updateAllPodcasts, “is a specialized command, well there is no way of knowing that it exists unless you’re specifically looking for it…”

    Or unless you browse through the scriptable objects and commands in the iTunes Script Dictionary, which is what you should do when you want to try scripting anything… read it’s script dictionary. To do this, Go to AppleScript Editor > File > Open Dictionary… then choose the app you want to script.

    Searching on the web is great but why not start right at the source?

    Anyhow, thanks for the great tip.

      10 years ago

      Well, that is what I mean. You can browse and find it, but I had so many requests from people about a command that would do this that it was obvious that people were looking and still not finding it.

    Randallg
    10 years ago

    Thanks very much for this one Gary. Really appreciate it…billiant!!!

    PS: I would have never worked it out myself in a million years!

    Randallg
    10 years ago

    post 2… typo: brilliant!!!

    victor
    10 years ago

    Hi Gary
    I tried to run the script but a get this error message…can you help or suggest a solution…?
    thank you!
    error “The variable updateAllPodcast is not defined.” number -2753 from “updateAllPodcast”

      10 years ago

      The command is “updateAllPodcasts” (with an s at the end).

    Brian
    10 years ago

    Hi Gary,
    I am a new Mac user and learn a lot from your podcasts. Question about this scripting.. I set up the script as you described and it works when I have my MacBook pro on. I tried telling the machine to ‘wake’ with the Energy Saver a minute prior to the ical script, but this doesn’t happen. Will the Energy Saver not ‘wake’ if the laptop is closed? Currently, the script will run as soon as I lift the lid of my laptop and type in my password. Am I doing something wrong?

    Thanks in advance!

      10 years ago

      If you have a MacBook then it must sleep if the lid is closed. (Exceptions are if it has a mouse, keyboard and external screen hooked up). So that’s what’s happening.

        Brian
        10 years ago

        Thanks Gary for such a quick response! Keep up the good work with your podcasts. I recommend you to my friends and colleagues.

    Erik
    9 years ago

    Hi Gary,
    I found yr Podcast #329 very helpful and very easy to understand. The hardest part was “googling” to find yr web site :) Like Brian I brand new to the mac osx, so I am finding out what is on my mac mini, In doing so I have found this app called “automator” which can do the same thing, So my question is why do we write scripts like “podcast updater” when we can/could use the app “Automator”. Plz remember I brand new to mac’s and I am sure there is a very reason, look forward to yr reply,
    Cheers

      9 years ago

      Automator is actually just an easier shell put on to AppleScript. A programmer might like to skip Automator and just write an AppleScript. A non-programmer would just stick with Automator and not use AppleScript at all. What Automator does is a subset of what AppleScript can do. That’s why sometimes you have to place a small AppleScript inside Automator to accomplish a task.

Comments Closed.