gammawert Posted April 26, 2017 Share Posted April 26, 2017 (edited) Good evening everybody, I am looking for directions (a) to find an already existing workflow (that I wasn't able to find) or (b) to allow me to create my own, in regards to the following "problem": I use Safari as my primary and have Opera installed as my secondary browser. While viewing a website in Safari, I sometimes would like to be able to use an Alfred-keyword to open the same website in Opera and vice-versa. Any directions? Thank you! Edited April 26, 2017 by gammawert Link to comment
PhilIcare Posted April 27, 2017 Share Posted April 27, 2017 Hi, I'm new to Alfred but maybe this will help to start: tell application "Safari" set theUrl to URL of first tab of front window end tell do shell script "open -a Firefox " & quoted form of theUrl Enjoy! Phil Link to comment
vitor Posted April 27, 2017 Share Posted April 27, 2017 Some of this can be accomplished via AppleScript, but not everything (well). Safari and Chrome have excellent AppleScript support but other browsers don’t (for the most part), including Firefox (rubbish support) and Opera (had undocumented support, and now seems to not have any). So it should still be possible but you’ll need to fake some key presses, which is less than ideal and prone to errors. So before we continue, any reason Opera is your secondary browser and not another, like Chrome? Link to comment
PhilIcare Posted April 27, 2017 Share Posted April 27, 2017 (edited) Hi, 5 hours ago, vitor said: Firefox (rubbish support) « Ruby-ish support »?… What do you mean? As far as I know, Ruby for Firefox is not a programming language. @gammawert, a little workflow for you ;). -> Url It In Other Browsers (on Github) Open an URL in Safari, stroke CMD + ALT + CTRL + U => the url opens in Firefox and Opera. Alfred 3 required. Enjoy! Edited April 27, 2017 by PhilIcare Correct gammawert pseudo Link to comment
vitor Posted April 27, 2017 Share Posted April 27, 2017 1 hour ago, PhilIcare said: « Ruby-ish support »?… What do you mean? As far as I know, Ruby for Firefox is not a programming language. Not “ruby-ish”, that’s not what I wrote. “Rubbish”, as in “a piece of garbage”. deanishe 1 Link to comment
deanishe Posted April 27, 2017 Share Posted April 27, 2017 3 hours ago, PhilIcare said: « Ruby-ish support »?… What do you mean? As far as I know, Ruby for Firefox is not a programming language. How did you get from "rubbish" to "Ruby-ish"? Link to comment
PhilIcare Posted April 28, 2017 Share Posted April 28, 2017 Hi everyone, 6 hours ago, deanishe said: How did you get from "rubbish" to "Ruby-ish"? LOL. My bad english, dude. Apologies. Link to comment
PhilIcare Posted April 28, 2017 Share Posted April 28, 2017 8 hours ago, vitor said: Not “ruby-ish”, that’s not what I wrote. “Rubbish”, as in “a piece of garbage”. Thanks. Apologies for misunderstanding. Link to comment
deanishe Posted April 28, 2017 Share Posted April 28, 2017 1 hour ago, PhilIcare said: LOL. My bad english, dude. Apologies. Bad? It was awesome! Link to comment
PhilIcare Posted April 28, 2017 Share Posted April 28, 2017 28 minutes ago, deanishe said: Bad? It was awesome! LOL. Too kind, thanks. By the way, what about a french section in forum? Link to comment
vitor Posted April 28, 2017 Share Posted April 28, 2017 1 hour ago, PhilIcare said: By the way, what about a french section in forum? I seriously doubt there are enough french-speaking users in the forum to justify that. Link to comment
PhilIcare Posted April 28, 2017 Share Posted April 28, 2017 3 minutes ago, vitor said: I seriously doubt there are enough french-speaking users in the forum [[[to justify that]]]. That's the reason why I thought it could be a nice idea. ;-) Link to comment
Vero Posted April 28, 2017 Share Posted April 28, 2017 Hi guys, thanks for helping each other out so nicely With regards to language-specific forum sections, that's not something we'll be doing anytime soon; While there are a number of active French-speaking users (myself included) on the forum, we also have users from all around the world, speaking numerous languages. Segregating everyone into language-specific sections would make it much harder for us (and for very helpful and knowledgeable community members - like @vitor @deanishe @dfay to name just a few) to provide help, given we each only speak a few languages. It also means that other users can't benefit from the helpful answer, due to the language barrier. Instead, let's keep everyone together, but just be patient with each other if there's a miscommunication caused by language. If someone's *really* stuck and has to post in their native language, I'm sure a fellow user will help translate a question along the way. Cheers, Vero Link to comment
gammawert Posted May 19, 2017 Author Share Posted May 19, 2017 On 27.4.2017 at 10:06 PM, PhilIcare said: @gammawert, a little workflow for you ;). -> Url It In Other Browsers (on Github) Open an URL in Safari, stroke CMD + ALT + CTRL + U => the url opens in Firefox and Opera. Alfred 3 required. Enjoy! Thank you Phillcare! 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