Look Up Term on dictionary.com

Compatibility: 4.2.3? - 5.0.1? - 5.0.2b20? - 5.1.2 - 6.0 - MacOS - Windows

getDefinition() sends a query to dictionary.com to look up the definition of a word.

This script was posted by Eric A. Folley to the Frontier Community mailing list. It's actually a straightforward use of the webbrowser verbs:

on getDefinition (term = "")
   << By Eric A. Folley 
   if term == ""
      frontier.bringToFront ()
      if not dialog.ask ("Enter a word or phrase:", @term)
         return (false)
   webbrowser.bringtofront ()
   webbrowser.openURL ("http://www.dictionary.com/cgi-bin/dict.pl?db=*&term=" + term)

This page is a Fat Page. It includes the above script(s), encoded by and for Frontier. To retrieve the script(s), save the page as source text and open it using the File->Open command.

Copyright © 1998, 1999 by Samuel Reynolds. All rights reserved. Last modified 1999/05/19.
Built with Frontier v.6.0 on Macintosh OS 8.1 on 1999/05/23.