Monday, February 19, 2018

#1 2003-07-06 12:32:26 am

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

Define Word

Uses the "dict" protocal to search several online databases for the submitted word or term.

OS version: OS X


set the_word to "AppleScript"
return get_definition(the_word)

on get_definition(the_word)
       return do shell script "cURL " & (quoted form of ("dict://" & the_word & ":*"))
   on error the_err
       return the_err
   end try
end get_definition

One mans trash is another mans treasure



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)