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

markelim

macrumors member
Original poster
Aug 2, 2010
90
0
Hi guys, I'm trying to write a applescript that opens up ical, waits 2 mins and closes the application, just enough time for it to sync my calendars. Can anyone help me with this. Im really no good at programming
 
You should be able to copy this into the AppleScript editor and save it.
Code:
tell application "iCal"
	activate
	delay 120
	quit
end tell
 
You could do it in Automator. Without being a programmer.

1. Launch Application
2. Pause
3. Quit Application

Each of those actions is under the Utilities sub-section of the builtin action library.
 
THank you soo much. I have never tried automator and its something i ought to look into.

Thanks again

Mark
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.