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


Click here to return to the 'Saving and restoring tabs in Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Saving and restoring tabs in Safari
Authored by: bfr00 on Sep 17, '03 01:25:22AM

Your new tab and new window script can be simplified. Remember that Safari understands javascript. This opens a new window:

tell app "Safari" to do javascript "window.open()" in document 1

To open a new tab just type command-T:
tell app "Safari" to activate
tell app "System Events" to keystroke "t" with command down



[ Reply to This | # ]