Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Safari: tabbed bookmark Finder shortcut?

Safari: tabbed bookmark Finder shortcut?
Thread Tools
Mac Elite
Join Date: Jan 2001
Location: Helsinki, Finland
Status: Offline
Reply With Quote
Oct 5, 2005, 02:36 PM
 
Hey

Any ideas how to create a single Finder icon from which to launch a number of web sites in tabs, in Safari?

The initial 'lets drag a folderful of bookmarks from Safari to Finder' and 'lets go automator' approaches didn't work out

The former creates a folder full of bookmark clippings, which is kinda ok, but you can't drag that back(!), or simply just click it to view the bookmarks in tabs. In Automator, I couldn't get the bookmarks to open in tabs and frankly, it was slooow.

Weird contraptions welcome,

J
     
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status: Offline
Reply With Quote
Oct 5, 2005, 04:09 PM
 
AppleScript is your friend...edit the following commands/links to your liking below and then copy/paste into Script Editor. Then do a "File > Save As > Application (Run Only)" to your Desktop. You can then edit the icon to one of your choosing and place it wherever you want. That should do the trick! Keep me posted...

tell application "Safari"
activate
tell application "System Events"
tell process "safari"
keystroke "t" using {command down}
open location "http://www.apple.com"
keystroke "t" using {command down}
open location "http://www.google.com"
keystroke "t" using {command down}
open location "http://www.cnn.com"
end tell
end tell
end tell
     
Mac Elite
Join Date: Jun 2003
Location: Newport News, VA USA
Status: Offline
Reply With Quote
Oct 5, 2005, 07:20 PM
 
meh

A much shorter AppleScript (that doesn't rely on GUI scripting)

Code:
do shell script "open http://www.apple.com http://www.cnn.com http://www.google.com"
     
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status: Offline
Reply With Quote
Oct 5, 2005, 08:33 PM
 
Originally Posted by cybergoober
meh

A much shorter AppleScript (that doesn't rely on GUI scripting)

Code:
do shell script "open http://www.apple.com http://www.cnn.com http://www.google.com"
Bah.

     
Professional Poster
Join Date: Sep 2005
Location: Rochester, NY
Status: Offline
Reply With Quote
Oct 5, 2005, 08:47 PM
 
Originally Posted by cybergoober
meh

A much shorter AppleScript (that doesn't rely on GUI scripting)

Code:
do shell script "open http://www.apple.com http://www.cnn.com http://www.google.com"
So those open in tabs? I tried just using the "open" command in the shell, and it opened all the web pages in different windows.

Although it is neat to open safari windows via the command line....
     
Dedicated MacNNer
Join Date: Nov 2004
Location: Orlando, FL
Status: Offline
Reply With Quote
Oct 5, 2005, 09:41 PM
 
Seems to work for me. Check to see if your

Safari prefs>General>Open links in new tab in current window

is checked.
     
Professional Poster
Join Date: Sep 2005
Location: Rochester, NY
Status: Offline
Reply With Quote
Oct 5, 2005, 09:44 PM
 
Originally Posted by nbn22385
Seems to work for me. Check to see if your

Safari prefs>General>Open links in new tab in current window

is checked.
Aha. Mine is set to open links from applications in a new window, and I like it that way.
     
Mac Elite
Join Date: Jun 2003
Location: Newport News, VA USA
Status: Offline
Reply With Quote
Oct 6, 2005, 06:47 AM
 
Ah, well in that case rickey's script would be for you, since it forces Safari to open the pages in tabs.
     
Professional Poster
Join Date: Sep 2005
Location: Rochester, NY
Status: Offline
Reply With Quote
Oct 6, 2005, 07:16 AM
 
I prefer to put organize a bunch of bookmarks into a folder, put the folder in the "Bookmarks Bar", and then select "open in tabs", which appears underneath the list of bookmarks when you click the folder on the bar.

Whoosh!

All the bookmarks in the folder pop up in separate tabs in the current window, replacing all the tabs that were in that window previously.
     
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status: Offline
Reply With Quote
Oct 6, 2005, 07:26 AM
 
Originally Posted by Dork.
I prefer to put organize a bunch of bookmarks into a folder, put the folder in the "Bookmarks Bar", and then select "open in tabs", which appears underneath the list of bookmarks when you click the folder on the bar.

Whoosh!

All the bookmarks in the folder pop up in separate tabs in the current window, replacing all the tabs that were in that window previously.
True; however, the original poster wanted a single-click action. With the above method, you need to have Safari open, and then click the bookmarks bar folder.

Is it possible to have Safari set to open up a bunch of tabs (and/or a single folder set to "Open in Tabs") when Safari is launched...basically like the default home-page? Anybody know?
     
Mac Elite
Join Date: Jun 2003
Location: Newport News, VA USA
Status: Offline
Reply With Quote
Oct 6, 2005, 09:41 AM
 
Not that I'm aware of. The closest I've come up with is using one of our scripts and pasting the Safari Icon onto it...
     
Professional Poster
Join Date: Jan 2001
Location: brooklyn ny
Status: Offline
Reply With Quote
Oct 6, 2005, 10:19 AM
 
Originally Posted by cybergoober
Not that I'm aware of. The closest I've come up with is using one of our scripts and pasting the Safari Icon onto it...

i've been running such a script in my login items...so when i boot up, my "homepage set" is there;
am surprised apple hasn't added this to safari yet!
"At first, there was Nothing. Then Nothing inverted itself and became Something.
And that is what you all are: inverted Nothings...with potential" (Sun Ra)
     
Mac Elite
Join Date: Jan 2001
Location: Helsinki, Finland
Status: Offline
Reply With Quote
Oct 6, 2005, 12:12 PM
 
Cool, thanks for all the tips. Rickey939's script works nicely, so I'll go with that. (and try to brush up on my dormant applescript skills to tweak it further )

J
     
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status: Offline
Reply With Quote
Oct 6, 2005, 01:17 PM
 
Originally Posted by Judge_Fire
Cool, thanks for all the tips. Rickey939's script works nicely, so I'll go with that. (and try to brush up on my dormant applescript skills to tweak it further )

J
If you want me to tweak it more towards your liking, just let me know and I'll give it a try as well.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:11 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2