using applescript to close a program after a time

Joined
Aug 2, 2007
Messages
280
Reaction score
1
Points
18
Location
Alabama
Your Mac's Specs
MacbookPro 2.5GHz, 4GB RAM, 250GB @5200 rpm Hard Drive, OS X 10.5
Hi, and thanks for looking.

I am interested in writing an applescript that will launch an app, and then close the app after 2 hours of it running. I would like to have iCal start the script. I would also like the script to wake from sleep even though the lid on the mackbook is closed. is that part possible?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top