Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TuffLuffJimmy

macrumors G3
Original poster
Apr 6, 2007
9,036
180
Portland, OR
I was wondering if there were a script or some other tool I could use to automatically start itunes from the place it was when I closed my macbook's lid. It gets a little tedious to have to go into itunes and hit the space bar every time I open the lid, plus it would be nice to learn a little scripting. Does anyone know a good place to look to learn applescript?
 
I think you'll need a couple of things... first, you'll need something to allow you to execute a script on wake.

This app might possibly do it: Lingon -- it makes use of a new part of OS X called launchd that is sort of a beefed up / replacement cron.

This one also seems able to do it: ScriptTimer

Then second, you'll need to know how to make the iTunes Applescript. The one you'll need is very simple... it essentially just tells the application iTunes to play. :) You might start with a tutorial like this one.

Good luck! :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.