Jump to content

Workflow to open all the URLs in a Bookmark folder?


Recommended Posts

Posted

Hi all, first post here. In Alfred v1 I had a action to open a list of URLs with a Hotkey.

 

I can do the same in V2 if I create a Workflow with multiple URLs but would prefer, if possible, to have a workflow that opens all the URLs in a Safari Bookmarks folder.  Sounds simple but I cannot fathom how I would achieve this?

 

I have to check a list of a dozen or so sites multiple times per day and the list can change so it would be much easier if I could just use a hotkey to open all the URLs in the folder. I can them maintain the folder as required.

 

I've even looked at using Automator but it seems impossible even there.

 

Any ideas?

Posted

It CAN be done but it's a bit of a pain. You can query Safari's bookmarks using mdfind and get them, but that doesn't distinguish what folder and such they are in. That info is maintained in a big plist file that would have to be read and parsed each time. Once again, possible, but a lot of effort. Using the workflow and maintaining the Open URL items would be much easier.

Posted

Seems to be one of those tasks that, on the surface, appears simple, but isn't!

 

I'll continue with maintaing the Workflow/OpenURL method then!

 

Thanks for replying.

  • 3 years later...
Posted

Hi everyone,

 

Was there any update on the matter?

I'm really looking for the similar workflow. I have to check plenty of websites daily and have a Safari Bookmark Folder which I'm opening. Would be great to be able to open it with a keyword.

Posted

It's not that difficult to do. Safari leaves a copy of its bookmarks at ~/Library/Safari/Bookmarks.plist. History and Reading List are in there, too, IIRC.

  • 3 years later...
Posted

I also very much hope to have this function.

At present, only one url can be opened. If the url of a folder can be opened, it will be very efficient.

  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...