ugaMack Posted January 2, 2007 Share Posted January 2, 2007 Hello, I just got a dock for my Nano and I want to keep it docked overnight and during work so I can pick up my latest podcasts to listen to during my commute. I'd like to set it to auto-sync at a set interval, say, once an hour it automatically syncs. Any ideas on how to do this? Thanks Link to comment Share on other sites More sharing options...
Swad Posted January 3, 2007 Share Posted January 3, 2007 Welcome to InsanelyMac, ugaMac! Under podcasts, you should be able to set it to download the new podcasts every hour. Then just make sure your iPod to automatically update. Link to comment Share on other sites More sharing options...
ugaMack Posted January 5, 2007 Author Share Posted January 5, 2007 Thanks for the reply and the welcome. I look forward to using this site more and more now that I've discovered it. I actually do have the podcasts set to download every hour and auto-sync on already, but it only auto-syncs when I first connect. After that, I have to tell it to sync. Should it be syncing periodically? Link to comment Share on other sites More sharing options...
ugaMack Posted January 8, 2007 Author Share Posted January 8, 2007 (edited) I guess I'm the only one that is too lazy to hit "sync" by hand , so I wrote my first AppleScript. It's pretty straightforward stuff ... on idle tell application "iTunes" update "ipodname" -- replace what's in quotes with the name of your iPod end tell beep 3 --You can leave this out of course. I just like that audio confirmation that the script triggered. return 3600 --seconds between updates end idle I just started testing this today and it seems to be working well. One thing I'd like to add to it is a check to see if the iPod is mounted. Any clues on how to do that? Edited January 8, 2007 by ugaMack Link to comment Share on other sites More sharing options...
kevin_4e Posted January 8, 2007 Share Posted January 8, 2007 Nice script. I'm surprised that feature isn't already in iTunes but I also had no luck finding it. About the mounting question, no I don't know how to do that. Sorry. Link to comment Share on other sites More sharing options...
ugaMack Posted January 9, 2007 Author Share Posted January 9, 2007 Thanks Kevin, I'll keep digging. If I find the answer, I'll post it. Link to comment Share on other sites More sharing options...
ugaMack Posted January 12, 2007 Author Share Posted January 12, 2007 Well I couldn't figure how to check to see if the iPod is mounted, but this new and improved script handles the errors, which is just as good, I guess. global timeBetweenUpdates on idle try tell application "iTunes" update "Nano" end tell beep 3 on error beep 2 return timeBetweenUpdates end try return timeBetweenUpdates end idle on run set timeBetweenUpdates to 3600 --seconds end run I hope this helps anyone looking to do the same thing. Link to comment Share on other sites More sharing options...
mmazor Posted January 15, 2010 Share Posted January 15, 2010 That script didn't work for me, this one did: tell application "iTunes" set my_iPod to some source whose name is "iPod Name" update my_iPod end tell iTunes 9.0.2 Link to comment Share on other sites More sharing options...
Recommended Posts