Title: Script to look up selection in Google
I just copied this from the AppleScript mailing list. Select a word or phrase in Entourage, run the script, and it will look it up in Google, using your default browser:
tell application "Microsoft Entourage" to set s to window 1's selection
if (count s) is 0 then set s to (display dialog "Search terms:" default answer "")'s text returned
if (count s) is 0 then error number -128
set text item delimiters to "+"
set s to "http://www.google.com/search?hl=en&q=" & s's words
set text item delimiters to {""}
open location s
With thanks to kai <[EMAIL PROTECTED]>.
--
Microsoft MVP for Entourage/OE/Word (MVPs are volunteers)
Allen Watson <[EMAIL PROTECTED]> Entourage FAQ site: <http://www.entourage.mvps.org/>
AppleScripts for Outlook Express and Entourage:
<http://members.thinkaccess.net/[EMAIL PROTECTED]/Scripts/>
Entourage Help Pages: <http://www.entourage.mvps.org/>
- Sending .zip now that it is built in Allen Watson
- Sending .zip now that it is built in Scott Haneda
- Re: Sending .zip now that it is built in Geoff Wallace
- Re: Sending .zip now that it is built in Scott Haneda
- Re: Sending .zip now that it is built in Matthew Smith
- Re: Sending .zip now that it is built... Paul Berkowitz
- Re: Sending .zip now that it is b... Scott Haneda
- Re: Sending .zip now that it ... Matthew Smith
- Re: Sending .zip now that it ... Paul Berkowitz
- Re: Sending .zip now that it ... Harry Zink
- Re: Sending .zip now that it ... Dan Crevier
