Automatic Safari Launch -- How Much Trouble?

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

  1. macrumors 68020


    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


    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?

    tell application "Safari" to activate
    open location "" without error reporting

Share This Page