AppleScript that visits a website at a certain time of day...

Discussion in 'Mac Programming' started by picturesintheai, Jul 18, 2008.

  1. picturesintheai macrumors newbie

    Jul 18, 2008
    I am new to programming in Applescript, but really trying to learn more. I have published a program called DISMount on

    Anyway.... I'm looking for a way to script that will tell Safari to visit a certain website at a certain time of day... is that possible? If so.... could anyone tell me how, or point me in the right direction?
  2. MongoTheGeek macrumors 68040


    Sep 13, 2003
    Its not so much where you are as when you are.
    Easiest thing to do is put a recurring event into iCal.

    barring that:

    property runtime : date "2:00 pm"

    on idle
    if (current date) >runtime then
    set runtime to runtime + 1*days
    end if
    return 5* minutes
    end idle

Share This Page