Use an AppleScript to open multiple websites at once

Jan 24, '03 09:34:40AM

Contributed by: Anonymous

As a journalist, I have a fair list of pages I visit daily - usually the first thing in the morning, and then several times in the day. Unfortunately, that also means clicking my way through a million bookmarks. Until I got sick of it, and wrote an Applescript to do it for me:

  open location "http://news.bbc.co.uk"
open location "http://www.cnn.com/"
Add as many sites in the AppleScript source as you like, and save it. Then, when you run the script, the browser you define as your default browser will open all the links above in new windows.

Depending on your bandwidth and amount of RAM, you might want to limit the number of sites. On a 640 MB 700Mhz iBook, I have 16 windows opening at the same time, but YMMV.

[Editor's note: You could also use a cron scheduler to run this script at a certain time each day, and I'm sure numerous other enhancements are possible...]

Comments (13)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030124063440530