Dictionary

Share your favorite FastKeys commands
Post Reply
Octopuss
Posts: 1
Joined: Nov 27th, ’13, 17:49

Post by Octopuss » May 16th, ’13, 23:35

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
User avatar
Marko
Posts: 1213
Joined: Mar 2nd, ’13, 21:02

Post by Marko » May 17th, ’13, 14:08

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!
thinman
Posts: 25
Joined: May 17th, ’13, 15:44

Post by thinman » Dec 12th, ’16, 07:35

this is EXCELLENT!!!

Thank you!
TokyoMike
Posts: 16
Joined: May 10th, ’18, 07:01

Post by TokyoMike » Nov 6th, ’18, 03:52

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!
User avatar
Marko
Posts: 1213
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Nov 7th, ’18, 18:32

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%
TokyoMike
Posts: 16
Joined: May 10th, ’18, 07:01

Post by TokyoMike » Nov 8th, ’18, 04:31

Thanks! Works perfectly. What a time saver!
mparis5551
Posts: 9
Joined: May 10th, ’20, 13:14

Post by mparis5551 » May 16th, ’20, 14:50

The link to the dictionary no longer is working for me. Is there an update?
User avatar
Marko
Posts: 1213
Joined: Mar 2nd, ’13, 21:02

Post by Marko » May 17th, ’20, 14:44

I tried and it still works for me - select a word and press your shortcut.
wetware05
Posts: 16
Joined: Dec 11th, ’18, 16:02

Post by wetware05 » Sep 11th, ’20, 14:09

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%
Post Reply