"Always open with" doesn't work

Discussion in 'macOS' started by ilikecorn500, Aug 16, 2012.

  1. ilikecorn500 macrumors member

    ilikecorn500

    Joined:
    May 16, 2011
    #1
    Hello.

    I want a specific bookmark on my desktop to open with Firefox or Safari, because it requires a certain plug-in that doesn't work with Chrome, my default browser. So I go to "Get Info" on the file, "Open with", "Other...", and I choose Firefox, then click the checkbox "Always open with". I close out the Get Info window, then double-click on the bookmark on my desktop. It opens with Chrome. I set it to open in Firefox.

    Is there any way I can fix this and make it open in Firefox? I've googled and I can't seem to find an answer.

    Here is the link I found that is close to giving me an answer.

    https://discussions.apple.com/thread/2464558?start=0&tstart=0
     
  2. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #2
    How about making an Applescript with the below code and save as an app on the desktop. Just change the URL as you like.

    Code:
    tell application "Firefox"
       OpenURL "http://www.cnn.com"
    end tell
     
  3. ilikecorn500 thread starter macrumors member

    ilikecorn500

    Joined:
    May 16, 2011
    #3
    AppleScript Error

    Firefox got an error: Can’t get URL "http://myharmony.com/".
     
  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    Sorry... I don't have Firefox to test. Try this.

    Code:
    tell application "Firefox"
        open location "http://myharmony.com/"
    end tell
     
  5. ilikecorn500 thread starter macrumors member

    ilikecorn500

    Joined:
    May 16, 2011
    #5
    It worked. Thank you!
     

Share This Page