How to open all of  your favourite sites inside a folder in Safari

Hi! I didn't see anybody asking something like this... I have a folder in Favorites menu, and I want to open that submenu and click over "Open all in tabs" (or however it is in english :$). I was trying before posting, but I can't access to folders in that menu. Any help?

I'm not sure to perfectly understand what you are asking for. Let's suppose first that your “Favorites” folder is in the “Bookmarks” menu. Then the following script should do the job:
tell application "Safari" to activate
tell application "System Events" to tell process "Safari"
click menu item -1 of menu 1 of menu item "Favorites" of menu 1 of menu bar item "BookMarks" of menu bar 1
end tell
On the other hand, if your “Favorites” folder is in the Bookmarks Bar, then the following script should do the job:
tell application "Safari" to activate
tell application "System Events" to tell process "Safari"
click menu item -1 of menu 1 of menu item "Favorites" of menu 1 of menu item "Bookmarks bar" of menu 1 of menu bar item "BookMarks" of menu bar 1
end tell
Hope this might help.

Similar Messages

  • When Safari opens all of my favourites come up as open tabs.  I have tried changing settings and deleting and reopening!  I removed all favourites but still all open up at start?

    When Safari opens all of my favourites come up as open tabs.  I have tried changing settings and deleting and reopening!  I removed all favourites but still all open up at start?  I have set a homepage and that doesn't come up upon starting safari either?

    There are several options in your prefs. See these in order
    EDIT: CellarDwellr just gave you a possible answer

  • How to open "All Tabs" from previously shown pages history?

    Hi,
    How to open "All Tabs" from previously shown pages history. I am not asking about "Reopen from last session". I am asking about how to open all tabs from previous webpage links from a past date from history, currently its allowing me to select each page link manually by clicking it.
    Thank you!

    Select the first item you wish to open, scroll down to the last, Shift-click that one & all those between should be selected too. Double-click on them & they should all start to open... or you can copy & then drag/paste into a new or existing bookmarks folder.

  • How to open all the pages of a file PDF in Photoshop?

    Hi,
    How to open all the pages of a file PDF in Photoshop?
    Or
    I need to know the amount of Pages in PDF.
    Example:
    >Set MyPhotoshop = CreateObject("Photoshop.PDFOpenOptions")
    Set MyOpenPref = CreateObject("Photoshop.PDFOpenOptions")
    sFileName = "C:\Temp\Myfile.pdf"
    >With MyOpenPref
    .AntiAlias = True
    .Mode = psOpenCMYK
    .Resolution = 72
    .BitsPerChannel = psDocument8Bits
    .CropPage = psBoundingBox
    .Page = 4
    .SuppressWarnings = True
    End With
    >MyPhotoshop.Open sFileName, MyOpenPref
    I need help.
    Thanks

    http://www.ps-scripts.com/bb/viewtopic.php?t=1882
    Have a look at this thread, the last entry has the full code and has everything you need there.
    The answer to knowing how many pages is, you don't need to know!
    You use SL code and no error and no page is opened. Thats the crux of the code.

  • How do I know if a login site is secure? In Safari or Explorer there is a visual lock icon, but not so in Firefox. Is there an add-on that meets this need?

    How do I know if a login site is secure? In Safari or Explorer there is a visual lock icon in the web browser window, but not so in Firefox. Is there an add-on that meets this need?

    The padlock only shows that there is a secure connection and doesn't guarantee that you are connected to the right server. So you might still be connected to the wrong server if you make a typo in the URL and someone has claimed that mistyped URL. The functionality of the padlock has been replaced by the Site Identity Button on the left end of the location (address) bar.
    https://support.mozilla.com/en-US/kb/Site+Identity+Button
    http://www.mozilla.com/en-US/firefox/security/identity/
    This has actually existed since Firefox 3.0
    If you still want a padlock icon also then there is this Extension.
    https://addons.mozilla.org/en-US/firefox/addon/padlock-icon/

  • How to open all ports on a Windows Server 2012 VM

    Hi I am wanting to open a range of endpoints ports (approx 900) for my Windows Server 2012 VM on Azure. This is the range 54363 to 55263 how can i do this I know that azure has a limit of 150 endpoints. Can I open all ports instead?
    Please any help with this would be appreciated

    Hi,
    I don't familiar with this topic, I find a feedback similar with this issue, please see more at:
    http://feedback.azure.com/forums/216843-virtual-machines/suggestions/3995978-allow-to-open-more-ports-that-the-150-ports-limit , it seems that this new feature has been fixed, please have a look at Corey Sanders's response, and see this new update at:
    http://azure.microsoft.com/en-us/updates/virtual-machines-instance-level-public-ips-now-in-preview/ , hope this helps, if not, or you have any further questions, I suggest you move to Azure VM forum for a better support, azure VM forum link is:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=WAVirtualMachinesforWindows
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to move all images from a site to a new folder and not lose links?

    I have always wondered this.....tried a few things with no success..Whenever I take over a site from someone, a lot of time the previous designer did not make folders for ANYTHING including images.....so in thier main directory they have 20 html pages, 200 images and css files etc.....I can not think this way.....I want to just make a folder for images...put all the images there.....a css folder....etc. Once I do this all my links are lost and it is to much work to replace each one with the broken link finder in Dreamweaver......In some other applications like Logic Studio ( a music production application as an example ) it is very similar. Your main song file is pointing to linked audio files all over your hard drive....If you decide you want to move that drive it will search for the linked audio files and when it can not find them it asks you to specify the new folder or search manually for them.....if I had moved 200 audio files it comes in quite handy because I can just point to that new folder and im done.......finally, my question is what would you guys recommend for doing this? Moving hundreds of image files so that I can organize things...........any help would be GREATLY appreciated...I have googled but found no great technique...

    I'm having the same or similar issue...  I think...  trying to do a little house cleaning in the file structure.  For example, in our events folder I'm creating archive folders (i.e. - 2004, 2005, ect...) and when I use the Files Panel to drag and drop the past event pages into the newly created archive folder, the pages loose all their links.
    Image link prior to and after moving are the same (../images/logo1.gif)
    It does ask me to confirm that I want to move the file but nothing about updating the links.  Is it due to the way the files are linked in the original files?
    Thanks in advance for any help!!!

  • How to open all bookmarks in a folder

    Hello,
    I've had a longstanding question regarding the behavior of bookmark folders and the Command/Ctrl"shortcut" that acts as if selecting Open All in Tabs.
    Why does the menu open when I Command click on a bookmark folder from the bookmarks toolbar? It forces the user to "click out" to exit the menu to continue. This essentially negates the benefit of the Command click shortcut. If I have to click twice, I may as well open the bookmark folder normally and select Open All in Tabs.
    I'm assuming that Command/Control click is intended to be a shortcut feature to open all the bookmarks contained within a folder on the toolbar. It seems like unwanted functionality to have that menu open. If someone is trying to use the "shortcut" they don't intend to make a selection from the menu and wouldn't need it to open.
    Let me know how I need to proceed. I'm not sure if this is a really old bug, a feature request, or just something I'm missing. If you could point me in the direction of an add-on or configuration parameter that would allow me to change this on my own, that would be much appreciated. Thanks!!!

    I never noticed that glitch with {Ctrl + Click} on a folder on the Bookmarks Toolbar before you mention it now. I have always used a Middle-click to open all the bookmarks in a folder, the downside is that it opens new tabs and doesn't overwrite the tab that is already open.

  • How to open All *.fmb files at one shot in Form Builder

    I have 20 *.fmb files i need to open all at one shot in form builder ......Please tell me how to do that
    Edited by: user10365515 on May 1, 2010 4:05 AM

    So, just go to that directory select that 20 files and double click or hit enter it will open in one form builder session.
    Note: You can not open from Form Builder.

  • How to open all subfolders within a folder

    I have a rather large folder of photos with many subfolders and further subfolders. At least a couple hundred folders.
    I would like to open them all so I can compare by name looking for duplicates and for size so I can delete the very small ones.
    Can someone tell me how to open them all?
    Thanks

    This is great! In the off chance anyone else is trying to do this, this is also useful if you have Papers and you want to switch to Mendeley. Papers keeps PDFs all organized by year and then author so the PDFs are all nested in subfolders. If you option-click the triangle next to the Papers folder, it will then show all the PDFs. Select All and then drag over the whole thing into Mendeley. I just imported my entire collection in under a minute. Glad I looked this up!

  • Currently when I click on "Open all tabs" the original site stays on the menu bar. Didn't before.

    Before, when I opened all tabs the site I was on closed, this doesn't happen now. The current site stays open.
    Also, when I use hotmail another firefox browser opens. Sometimes when I close the hotmail window the other window closes instead.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How to Open All Folders At Once

    Is there a way to open all the folders that my songs are in, on Windows XP, so that I can see what songs are in there? Or do I have to open them one at a time?
    Thanks for any help!

    Is there a way to open all the folders that my songs
    are in, on Windows XP, so that I can see what songs
    are in there? Or do I have to open them one at a
    time?
    Thanks for any help!
    How does this make sense? Sorry, but on my XP box I have over 1000 artists and 1700 albums, each in separate folders (organized by iTunes because I don't have time for such nonsense) - opening all of those folders would be quite a mess on the desktop!
    If you want to see the actual files, select any ONE song and choose "Show in Windows Explorer". It will open the containing folder.
    Part of the point of iTunes is to make folders and files irrelevant by using a database. You don't need to see or manipulate folder and files to add/remove/edit/play/organize songs, or to use the iPod.

  • How can I open all the tabs saved in a sub folder of the bookmark menu simultaneously in a single click/command ?

    I have saved some of the related tabs in a common sub folder in the bookmarks list and whenever i have to open this tabs always i have to open them individually coz the 'open all in new tabs' option is not available for subfolder, so is there any command or click available from which i can directly open all the saved tabs of a subfolder simultaneously in one single attempt ? using vaio laptop, windows 7 basic, firefox version 6.0.2 !

    yes i do that on my desktop but i dont have middle click option on laptop and even in the right click context the ''open all in tabs'' option is desplayed but is in light color i.e. not functional. Is this a problem with windows 7 or missing plugin or add on could help or extension of some sort ? please help !

  • How to "open all in tabs" bookmarks including links in second level folders (maybe each in new window with tabs) It opens only first level links... thanks

    I mean, if I go to the main menu, bookmarks->some folder (this "some folder" includes a 5 bookmarks and "some folder 1", "some folder 2" each with own bookmarks), click "open all in tabs", then it opens only 5 bookmarks, but I want it to open bookmarks from "some folder 1", "some folder 2" too at the same time! (maybe in new windows with tabs for each "some folder 1", "some folder 2") doesn't matter.
    Is there a way to do this? Maybe addons? extensions? Maybe you could add this in future versions...
    THanks. It would be great for me and my friends. (they also asked about this)
    Sergey Knyazyuk

    Try with Firefox Addons
    *addons.mozilla.org

  • How to Unlock all folders and Files in One Main Folder

    How do i unlock all files and folders in one main folder? This way I wouldn't have to do it over 1,000 times to fix my folders I imported from my external drive.

    Open the Script Editor in the /Applications/AppleScript/ folder and enter the following:
    tell application "Finder"
    set locked of every item of entire contents of (selection as alias) to false
    end tell
    Select the main folder in the Finder and run the script.
    (39015)

Maybe you are looking for

  • How to evalute the name of an attribute at runtime?

    hi, I have a custom tag that accepts dynamic attributes. I would like to pass attributes names that are defined at run time, by EL, but didn't find a way to do it this is what I tried without success ${name1} <!-- "email" --> ${name2} <!-- "username"

  • HT201317 How do I transfer a photo from my pc to my iphone?

    How do I transfer a photo from my pc to my iphone? My other iphone could do that but this new one is not letting me transfer from the pc to the phone.

  • ICloud sign-in not working

    So I'm a litte stumped here with iCloud. (OSX Lion 10.7.2). The first time (a few days ago) I decided to setup iCloud on my computer and it prompted me to sign in, but I chose the create a new @me.com account option. After completing the account crea

  • Ibook shuts off

    Hi everyone....... 2nd time posting same question.... Need some help. ibook was running fine (10.2.8) yesterday, put it to sleep last nite without a problem. Woke up this morning and the laptop was shutoff? When I tried to powerup it would startup fo

  • Not enough space on device error when creating new diskimage on HD, but 173 gb free

    when trying to create a new protected diskimage on HD, i receive an error message "not enough free space on device" eventhough i have 173 GB of unused space