PDA

View Full Version : Automatic Safari Launch -- How Much Trouble?




bobber205
Sep 12, 2006, 08:28 PM
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?



Sayer
Sep 12, 2006, 09:44 PM
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 "http://www.macosrumors.com/" without error reporting