(* google.search(Mac OS 8.5-9.x) v.1.00 * written: Sasaki Atsushi ; * last modified: Mon, 20-May-2002; * latest version: ; * * This script requires: * o Tanaka's OSAX * *) display dialog "Input some words to search with Google." default answer "" buttons {"Cancel", "Google!"} default button "Google!" set {text returned:q, button returned:b} to result if b is "Google!" then open location "http://www.google.co.jp/search?" & (MT Pack CGI {{"q", q}, {"hl", "ja"}, {"lr", ""}}) else if b is "Cancel" then return false end if -- EOF