Dict app - adding a link other than Wikipedia to it?

Discussion in 'macOS' started by jon08, Oct 24, 2009.

  1. jon08 macrumors 65816

    Joined:
    Nov 14, 2008
    #1
    Is it possible to link any websites to the Dict app other than Wikipedia? Sometimes I wish I could have it linked to Urban Dictionary and such so that when I look up a word in my Dict app and it happens to be a slang one, I could get a definition off of Urban Dictionary?
     
  2. jon08 thread starter macrumors 65816

    Joined:
    Nov 14, 2008
  3. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #3
    Not possible without digging into the code. Use a browser.
     
  4. Snit macrumors newbie

    Snit

    Joined:
    Sep 7, 2015
    #4
    Late to the party here, but was wondering the same thing. Did not find an answer to made my own. Does not add it to the dictionary but in almost any app I get a "Look Up in Urban Dictionary" text action (right click option).

    1) Open Automator and create Service. Set to text in any application
    2) Add AppleScript action and include the code listed below
    3) Save

    Now you can right-click and find the word in the urban dictionary. That easy.

    The code:
    ————
    on run {theWord}
    set theURL to "http://www.urbandictionary.com/define.php?term=" & theWord
    tell application "Safari"
    activate
    open locationtheURL
    end tell
    end run
    ————

    Not a programmer and there may be better ways - but this works for me.
     

Share This Page