Ilithian Posted October 1, 2014 Share Posted October 1, 2014 (edited) 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 October 1, 2014 by Ilithian Link to comment Share on other sites More sharing options...
Andrew Posted October 2, 2014 Share Posted October 2, 2014 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 More sharing options...
Andrew Posted October 2, 2014 Share Posted October 2, 2014 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 More sharing options...
Ilithian Posted October 2, 2014 Author Share Posted October 2, 2014 Thanks a lot! Link to comment Share on other sites More sharing options...
Andrew Posted October 4, 2014 Share Posted October 4, 2014 Apple has marked this bug as duplicate of 18012923, so they already know about it. Hopefully this will get fixed at some point Link to comment Share on other sites More sharing options...
digital_vibe Posted November 15, 2014 Share Posted November 15, 2014 I raised this very issue via the Apple Discussion boards and was told it's not a bug: https://discussions.apple.com/message/27013709?ac_cid=op123456#27013709 Can you offer a link to where Apple has marked it as a bug? I've tried using your example workflow but doesn't work for me. Link to comment Share on other sites More sharing options...
digital_vibe Posted December 9, 2014 Share Posted December 9, 2014 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 Link to comment Share on other sites More sharing options...
Andrew Posted December 9, 2014 Share Posted December 9, 2014 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 More sharing options...
politicus Posted December 12, 2014 Share Posted December 12, 2014 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. Link to comment Share on other sites More sharing options...
Andrew Posted December 12, 2014 Share Posted December 12, 2014 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 More sharing options...
politicus Posted December 12, 2014 Share Posted December 12, 2014 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. Link to comment Share on other sites More sharing options...
Andrew Posted December 12, 2014 Share Posted December 12, 2014 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 More sharing options...
politicus Posted December 12, 2014 Share Posted December 12, 2014 Adding sleep 1 between each url -> it works. Thank you. Link to comment Share on other sites More sharing options...
digital_vibe Posted December 15, 2014 Share Posted December 15, 2014 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. Link to comment Share on other sites More sharing options...
Andrew Posted December 15, 2014 Share Posted December 15, 2014 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 More sharing options...
digital_vibe Posted December 15, 2014 Share Posted December 15, 2014 Yes, there are errors. After each URL it says,"No such file or directory",however if I restrict it to just the seven URLs no errors are returned. Link to comment Share on other sites More sharing options...
Andrew Posted December 16, 2014 Share Posted December 16, 2014 Yes, there are errors. After each URL it says,"No such file or directory",however if I restrict it to just the seven URLs no errors are returned. Can you paste in the script here... it could be that the URLs have some invalid chars Link to comment Share on other sites More sharing options...
Andrew Posted December 18, 2014 Share Posted December 18, 2014 Sure thanks. You need to put "open" in front of the URLs otherwise bash won't know what you want to do with them. Cheers, Andrew Link to comment Share on other sites More sharing options...
digital_vibe Posted December 18, 2014 Share Posted December 18, 2014 How strange. Not sure how I missed that or why it was working when there were only seven URLs, but regardless - thanks! Works now Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now