Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Multi-Tabbed Homepage. Sorta.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Multi-Tabbed Homepage. Sorta.
Authored by: skatz13 on Apr 14, '03 06:50:01PM

I wrote this script to allow the opening of multiple pages in
tabs as the startup homepage. It may not be pretty but it
works.


tell application "Safari"
activate
open location "http://www.XXXXXXX.com"
my new_tab()
set the URL of document 1 to "http://www.XXXXXX.com"
end tell
on new_tab()
tell application "Safari" to activate
tell application "System Events"
tell process "Safari"
«event prcsclic» «class menI» "New Tab" of
«class menE» "File" of «class mbar» 1
end tell
end tell
end new_tab


Replace the X's with whatever sites you want and keep
repeating the code

I am sure that there is a much better way to do it but I
have no clue what I am doing and it only took me 5 minutes to
write. Mine opens up 10 pages and works great.

The "new_tab" code was "borrowed" from Apples "Combine
Windows" script. Sorry if it offends anybody and please don't
sue me.



[ Reply to This | # ]