Jump to content

Workflow can't open more than 4 URLs simultaneously [Reported to Apple]


Ilithian
 Share

Recommended Posts

Hi Alfred-Team,

 

after installing the Yosemite public beta 4 I cannot open more than 4 URLs simultaneously with my workflow. It is a very simple one that opens my 10 most important URLs with one keyword. Works perfectly fine with latest version of Mavericks, but doesn't seem to work under Yosemite. Changing the browser to Google Chrome has the same effect. It always opens 4 tabs and for the rest I get a error message saying it can't open safari (or whatever browser is the standard browser) because it doesn't react.

 

Maybe it's a problem with yosemite (it still is a beta) but maybe you know what to da about it.

 

Thanks in advance.

 

Edit: I forgot my Alfred version is 2.5 (296)

Edited by Ilithian
Link to comment
Share on other sites

Hi Alfred-Team,

 

after installing the Yosemite public beta 4 I cannot open more than 4 URLs simultaneously with my workflow. It is a very simple one that opens my 10 most important URLs with one keyword. Works perfectly fine with latest version of Mavericks, but doesn't seem to work under Yosemite. Changing the browser to Google Chrome has the same effect. It always opens 4 tabs and for the rest I get a error message saying it can't open safari (or whatever browser is the standard browser) because it doesn't react.

 

Maybe it's a problem with yosemite (it still is a beta) but maybe you know what to da about it.

 

Thanks in advance.

 

Edit: I forgot my Alfred version is 2.5 (296)

 

Thanks, this is easily reproduced so I've reported this bug to Apple!

Link to comment
Share on other sites

Update: Reported to Apple as bug number 18524459.

 

As a workaround until Apple fix this, you could create a workflow to open Safari first, wait a moment and then open the URLs in a bash script much like this:

open -a Safari

sleep 1

open http://apple.com
open http://google.com
open http://yahoo.com
open http://bing.com
open http://bbc.co.uk
open http://wikipedia.org
open http://imdb.com

Here is an example workflow: https://dl.dropboxusercontent.com/u/6749767/Alfred/Workflows/Open%20URLs%20test%20script.alfredworkflow

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

Could someone help me with this? I understand it's an issue with Apple but the work around suggested doesn't work for me. Thanks

 

Have you tried the workflow I posted and is Safari your default browser? If so, try setting the delay to 2 instead of 1 (as that delay is to allow Safari to launch).

Link to comment
Share on other sites

I just tried the workaround.

 

Google Chrome is my default browser. When fired, the workflow opens the specified urls in Google Chrome + Opens a new Safari window.

 

You'll need to change the top line to...

 

open -a "Google Chrome"

 

if Google Chrome is your default browser

Link to comment
Share on other sites

Oh, yeah I tried to replace Safari by Google Chrome, but not by "Google Chrome".

 

Now that I have added "", only 3 out the 7 urls are opened in Google Chrome.

No Safari window is opened.

 

Maybe try adding some sleeps between opening the URLs... unfortunately this behaviour is outside of Alfred's control. Hopefully Apple fix it in the next Yosemite release.

Link to comment
Share on other sites

The example workflow works fine for me if I'm specifying 7 URLs however I need to specify 21. I added in a sleep in between each but that doesn't work, ie the workflow won't even launch. 

 

If you enable the debug mode (the little bug button top right in the workflow editor), do you see an error when running the workflow? It should easily be able to handle as many URLs as you need.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...