Can someone help me write up a quick applecript

Discussion in 'Mac Basics and Help' started by markelim, Dec 2, 2011.

  1. markelim macrumors member

    Joined:
    Aug 2, 2010
    #1
    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
     
  2. ergdegdeg Moderator emeritus

    ergdegdeg

    Joined:
    Oct 13, 2007
    #2
    You should be able to copy this into the AppleScript editor and save it.
    Code:
    tell application "iCal"
    	activate
    	delay 120
    	quit
    end tell
     
  3. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #3
    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.
     
  4. markelim thread starter macrumors member

    Joined:
    Aug 2, 2010
    #4
    THank you soo much. I have never tried automator and its something i ought to look into.

    Thanks again

    Mark
     

Share This Page