nickb Posted May 14, 2013 Share Posted May 14, 2013 I downloaded a few workflows for sabnzbd, couch potato, and sick beard. They were working fine at first, then I did an update for Alfred and now when I use any of their functions that open a browser window, Safari (my default browser) opens, but now so does Firefox. I'm not seeing any setting in the workflow or in Alfred that would open a different browser, so I'm kind of stumped. Does anyone have any suggestions? Link to comment
jdfwarrior Posted May 15, 2013 Share Posted May 15, 2013 I downloaded a few workflows for sabnzbd, couch potato, and sick beard. They were working fine at first, then I did an update for Alfred and now when I use any of their functions that open a browser window, Safari (my default browser) opens, but now so does Firefox. I'm not seeing any setting in the workflow or in Alfred that would open a different browser, so I'm kind of stumped. Does anyone have any suggestions? Not sure what would cause this, but I doubt it has anything to do with Alfred. If you are using the same workflows I looked at, and I'm pretty sure you would be, they are using python to open the browser window. It's using the webbrowser python module. I haven't looked into how it works, but I would suggest that it stems from there. Link to comment
nickb Posted May 15, 2013 Author Share Posted May 15, 2013 No other program on my computer opens Firefox (except for clicking directly on Firefox), so this appears to be an Alfred (or workflow) issue to me. I've done nothing to (because I don't know how) the webbrowser python module. Again, it was working correctly, then there was an Alfred update, and now it's not. Link to comment
jdfwarrior Posted May 16, 2013 Share Posted May 16, 2013 No other program on my computer opens Firefox (except for clicking directly on Firefox), so this appears to be an Alfred (or workflow) issue to me. I've done nothing to (because I don't know how) the webbrowser python module. Again, it was working correctly, then there was an Alfred update, and now it's not. I wasn't implying that you changed the webbrowser python module. As I said, assuming that you are using the same workflows I looked at, the browser that opens is in no way something that Alfred handles. The python script opens the browserURL. So, if it's not working as expected, it's the result of the python module not working properly. Link to comment
nickb Posted May 17, 2013 Author Share Posted May 17, 2013 Any ideas/suggestions on how to fix the webbrowser python module? Pretty foreign to me, so a Google search didn't help me too much. Link to comment
jdfwarrior Posted May 17, 2013 Share Posted May 17, 2013 Any ideas/suggestions on how to fix the webbrowser python module? Pretty foreign to me, so a Google search didn't help me too much. You may be better off asking the original workflow developer on that one.. Link to comment
nickb Posted May 17, 2013 Author Share Posted May 17, 2013 But I downloaded and used the workflow for several weeks without issue, then an Alfred update came along and now it's opening Firefox. Before I bug the person who provided something for free for software I paid for, I'd like to make sure I'm actually asking the right person. Link to comment
jdfwarrior Posted May 17, 2013 Share Posted May 17, 2013 But I downloaded and used the workflow for several weeks without issue, then an Alfred update came along and now it's opening Firefox. Before I bug the person who provided something for free for software I paid for, I'd like to make sure I'm actually asking the right person. Link me to the workflows so I can ensure that I looked at the same ones. I have only seen one set for these. Link to comment
Andrew Posted May 18, 2013 Share Posted May 18, 2013 But I downloaded and used the workflow for several weeks without issue, then an Alfred update came along and now it's opening Firefox. Before I bug the person who provided something for free for software I paid for, I'd like to make sure I'm actually asking the right person. Alfred simply asks OS X to open a URL - this hasn't changed in many versions. Could you quit both Safari and Firefox, then use Alfred's built in Google search to see if just your default browser opens? If a workflow is opening a URL using its own methods (David mentioned using Python to open the URL), then this will be outside of Alfred's control. Cheers, Andrew Link to comment
nickb Posted May 18, 2013 Author Share Posted May 18, 2013 Link me to the workflows so I can ensure that I looked at the same ones. I have only seen one set for these. http://www.alfredworkflow.com/#SABnzbd-Alfred http://www.alfredworkflow.com/#CouchPotato-Alfred http://www.alfredworkflow.com/#Sickbeard-Alfred That's where I found them and downloaded them from, so hopefully those are the links you need. Alfred simply asks OS X to open a URL - this hasn't changed in many versions. Could you quit both Safari and Firefox, then use Alfred's built in Google search to see if just your default browser opens? If a workflow is opening a URL using its own methods (David mentioned using Python to open the URL), then this will be outside of Alfred's control. Cheers, Andrew This just opens the default browser (Safari). Thank you both for your help. Link to comment
jdfwarrior Posted May 19, 2013 Share Posted May 19, 2013 Alfred simply asks OS X to open a URL - this hasn't changed in many versions. Could you quit both Safari and Firefox, then use Alfred's built in Google search to see if just your default browser opens? If a workflow is opening a URL using its own methods (David mentioned using Python to open the URL), then this will be outside of Alfred's control. Cheers, Andrew http://www.alfredworkflow.com/#SABnzbd-Alfred http://www.alfredworkflow.com/#CouchPotato-Alfred http://www.alfredworkflow.com/#Sickbeard-Alfred That's where I found them and downloaded them from, so hopefully those are the links you need. This just opens the default browser (Safari). Thank you both for your help. Thanks for helping out Andrew. I downloaded and looked at all 3. All three are exactly the workflows that I had previously referred to. None of them use the Alfred "Open URL" action anywhere in the workflow. Therefore, opening the wrong browser is not the result of anything on Alfred's part. These workflows opening the wrong browser is something on the workflow/script's side, and not something related to Alfred. Everything in these workflows is either a script filter or a keyword that then links to a python script, that opens a browser window. Link to comment
rice.shawn Posted May 23, 2013 Share Posted May 23, 2013 Hack: Alter the workflow scripts so that they issue the system command "open -a Safari http://www.urlfromargument.com" For instance, if using php, then the syntax would be something like $url = $urlfromargument; $cmd = 'open -a Safari ' . $url; shell_exec($cmd); The url needs to have 'http://' in it. Link to comment
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