Automatic Safari Launch -- How Much Trouble?

Discussion in 'Mac Programming' started by bobber205, Sep 12, 2006.

  1. macrumors 68020

    bobber205

    Joined:
    Nov 15, 2005
    Location:
    Oregon
    #1
    A little thing here. I want to make a script that would launch Safari at a certain time in the morning and make it go to a specified address.

    Any suggestions on how hard this might be? Any suggestions for resources?
     
  2. macrumors 6502a

    Sayer

    Joined:
    Jan 4, 2002
    Location:
    Austin, TX
    #2
    So why not just fire up iCal, set an "event" with repeat options (only on weekdays, whatever time) and for the "alarm" select "Open file." For the file to open make an AppleScript application (save as Application) that tells Safari to activate and open a URL?

    Code:
    tell application "Safari" to activate
    
    open location "http://www.macosrumors.com/" without error reporting
     

Share This Page