Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keyboard Shortcut - Find the conjugation table for a selected verb
#1
When I need to write a proposal to a customer, an email to my teammates, etc, I often need to validate if I use the proper spelling for several verbs as they don't often come easily in my head. Typically, after selecting the text (from anywhere), you have to copy it (to the clipboard), start your browser, go to a verb conjugation website, paste it (from the clipboard) in the query field, and then click a button to find the proper spelling. This whole process can be very long and repetitive.

To solve this, I developed a quick AutoHotkey script to process the finding rapidly into a verb conjugation website. For this example, I used I ''http://conjugueur.reverso.net/conjugaison-anglais-verbe-" but you can use any other verb conjugation website.

Basically, I select the verb to find the associated conjugation table, then I activate the shortcut from Shortkeeper. Immediately after, the verb conjugation website opens up in my internet browser and instantly shows me the conjugation table of that verb. Also, if the copying to the clipboard fails, an error will pop up. Here's the AutoHotkey script to be used in Shortkeeper:

ClipSaved := ClipboardAll
Clipboard =
SendInput, ^c
ClipWait, 2
if ErrorLevel
{
 ;MsgBox % "Failed attempt to copy text to clipboard."
  Run % "http://conjugueur.reverso.net/conjugaison-anglais.html"
}
else
{
  TextSelected := Trim(Clipboard)
  Run % "http://conjugueur.reverso.net/conjugaison-anglais-verbe-" . TextSelected  . ".html"
}
Clipboard := ClipSaved

Enjoy!
Reply
#2
Thanks for sharing. The script works very well.

This short tutorial "https://forum.cedeq.com/showthread.php?tid=29" will help someone needing help to create a keyboard shortcut with ShortKeeper using AutoHotkey code.
Enterpad: For those who need more than a few shortcuts.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)