Jump to content
gammawert

looking for workflow: View currently open URL (in Safari) in other browser (Opera)

Recommended Posts

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 by gammawert

Share this post


Link to post

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

Share this post


Link to post

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?

Share this post


Link to post

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 by PhilIcare
Correct gammawert pseudo

Share this post


Link to post
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”.

Share this post


Link to post
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"?

Share this post


Link to post
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.

Share this post


Link to post
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. ;-)

Share this post


Link to post

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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...