Page 1 of 1

Dictionary

Posted: May 16th, ’13, 23:35
by Octopuss
Hi, first of all, congratulations for your great work!

I have one question: I like Google search preset command very much. Do you think it would be possible to create a similar command which would search for a word definitions in a dictionary.reference.com? That would be great Thanks!

Oct

Re: Dictionary

Posted: May 17th, ’13, 14:08
by Marko
Hi Octopuss,

Shortcut: Ctrl-D
Type: Command
Paste this code into the command field:

Code: Select all

SaveClip := ClipboardAll
Clipboard := ""
Send ^c
ClipWait 1
Word := RegExReplace(Clipboard, "[^\w\s]")
Clipboard := SaveClip
SaveClip := ""
Run, http://dictionary.reference.com/browse/%Word%?s=t  
Please let me know how it is working for you. If working correctly I will add this to the presets.
Thanks for a good idea!

Re: Dictionary

Posted: Dec 12th, ’16, 07:35
by thinman
this is EXCELLENT!!!

Thank you!

Re: Dictionary

Posted: Nov 6th, ’18, 03:52
by TokyoMike
Hello

Could this be tweaked to work with Japanese text?

I would like to select text like 東京, click Control+D and then automatically feed the Google Translate site: https://translate.google.com/#auto/en/東京

With this, script I am getting https://translate.google.com/#auto/en/% ... 1%E4%BA%AC

Thanks for any help you can provide!

Re: Dictionary

Posted: Nov 7th, ’18, 18:32
by Marko
This works for me:

Code: Select all

SaveClip := ClipboardAll
Clipboard := ""
Send ^c
ClipWait 1
Word=%Clipboard%
Clipboard := SaveClip
SaveClip := ""
Sleep 500
Run, https://translate.google.com/#auto/en/%word%

Re: Dictionary

Posted: Nov 8th, ’18, 04:31
by TokyoMike
Thanks! Works perfectly. What a time saver!

Re: Dictionary

Posted: May 16th, ’20, 14:50
by mparis5551
The link to the dictionary no longer is working for me. Is there an update?

Re: Dictionary

Posted: May 17th, ’20, 14:44
by Marko
I tried and it still works for me - select a word and press your shortcut.

Re: Dictionary

Posted: Sep 11th, ’20, 14:09
by wetware05
This one's simpler. Change the URL to the required one.

Type command

Code: Select all

Send, ^{vk43} ;Ctrl C
Sleep 50
Run, http://dle.rae.es/?w=%clipboard%