| View previous topic :: View next topic |
| Author |
Message |
kalle
Joined: 22 Mar 2004 Posts: 1
|
Posted: Mon Mar 22, 2004 6:58 pm Post subject: look up a word at dictionary.com |
|
|
I use this script to look up the selected word at www.dictionary.com with mozilla.
| Code: |
; Loop up selected word at www.dictionary.com
#d::
tmp = %clipboard%
Send, ^c
word = %clipboard%
clipboard = %tmp%
Run "C:\Program Files\mozilla.org\Mozilla\mozilla" dictionary.reference.com/search?q=%word%
return
|
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Mon Mar 22, 2004 7:57 pm Post subject: |
|
|
Very nice. I use almost the exact same thing, and its fast too. Here's my version (this one launches the default browser):
Run, http://www.dictionary.com/search?q=%clipboard%&db=*, , max
It's great for when you're typing somewhere (like here) where there's no spell-checker. Thanks for sharing that. |
|
| Back to top |
|
 |
Beastmaster Guest
|
Posted: Wed Mar 24, 2004 9:29 pm Post subject: |
|
|
So that's the same for LEO (Link Everything Online)
an English-German-English dictionary (with 398357 entries (24/03/04))
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Wed Mar 24, 2004 9:40 pm Post subject: |
|
|
| Sweet. I think I'm going to use kalle's idea for both of these dictionaries since it automatically looks up the selected word and restores the prior contents of the clipboard afterward. |
|
| Back to top |
|
 |
Jon
Joined: 28 Apr 2004 Posts: 373
|
Posted: Wed Apr 28, 2004 8:10 pm Post subject: |
|
|
Thanks for that, It can also be used to search a word in google
| Code: |
^g::
Send, ^c
word = %clipboard%
Run "%ProgramFiles%\Internet Explorer\IEXPLORE.EXE" http://www.google.co.uk/search?q=%word%&ie=UTF-8&oe=UTF-8&hl=en&meta=, , max
EXIT
|
|
|
| Back to top |
|
 |
saden Guest
|
Posted: Wed Mar 12, 2008 9:53 am Post subject: |
|
|
You could place the following line before calling/running your browser in the script :
| Code: | | StringReplace, word, word, %A_Space% ,`%20, All |
to allow to do searches with multiple words (it adds %20 to spaces) |
|
| Back to top |
|
 |
|