Possible to update Podcasts without opening iTunes?

Is it possible to have iTunes do stuff in a script if it isnt open. Maybe like telling “System Events” to do it or something. I want to update my podcasts without having to open iTunes.

If you need an application to perform a task, that application has to be running to perform that task.

How about:

  1. Your script looks to see if iTunes is running.

  2. If not, it launches iTunes.

  3. The script marks your podcasts however you want, etc.

  4. If iTunes was running when the script started, it leaves it running; if not, it quits it automatically when finished.

Try this:

tell application “iTunes”
launch
tell application “iTunes” to updateAllPodcasts
end tell