DW_99

Q: Automator Service to open URL in Firefox

I'm trying to make a service on OS X Yosemite that will allow me to click on the URL at the top in Safari, then open it in Firefox. Saving my having to copy, open up Firefox and then paste it in. I've found a screenshot of something similar to what I'm trying to get, only in there it say 'Open URL in Opera' not Firefox. Can anybody help?

 

137001-137001-textservice_original-replace_original.jpg

OS X Yosemite (10.10)

Posted on Oct 23, 2014 4:39 PM

Close

Q: Automator Service to open URL in Firefox

  • All replies
  • Helpful answers

  • by Hiroto,

    Hiroto Hiroto Oct 23, 2014 7:17 PM in response to DW_99
    Level 5 (7,306 points)
    Oct 23, 2014 7:17 PM in response to DW_99

    Hello

     

    You may create an Automator service as follows:

     

    0) Service receives selected [URLs] in [any application]

     

    1) Run Shell Script action

        - Shell = /bin/bash

        - Pass input = as arguments

        = Code = as follows

     

    #!/bin/bash
    
    open -b org.mozilla.firefox "$@"
    

     

     

    Workflow will look something like this.

     

    a.png

     

     

    Tested under 10.6.8.

     

    Hope this may help,

    H