April 10, 2007
If you want Safari to open multiple web sites in tabs at once, copy this in your Apple Script editor and customize it the way you want. Save the script as say “My Sites” and the next time you run it it will open Safari with all the sites at once.
tell application "Safari"
activate
set the URL of document 1 to “http://au.yahoo.com/”
my new_tab()
set the URL of document 1 to “http://forum.macformat.co.uk/index.php”
my new_tab()
set the URL of document 1 to “http://www.satelitskiforum.net/wbb2/index.php”
my new_tab()
set the URL of document 1 to “http://davortech.wordpress.com”
my new_tab()
set the URL of document 1 to “http://au.answers.yahoo.com”
end tell
on new_tab()
tell application “Safari” to activate
tell application “System Events”
tell process “Safari”
click menu item “New Tab” of menu “File” of menu bar 1
end tell
end tell
end new_tab
2 Comments |
Macintosh, Miscellaneous, Scripting |
Permalink
Posted by Davor