 |
 |
Safari: tabbed bookmark Finder shortcut?
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Location: Helsinki, Finland
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|