Eu configurei teclas de atalho para deixar-me destacar uma palavra em uma língua estrangeira (FR, SP, GE) e com base na tecla de atalho eu posso conjugá-la, ouvir um humano pronunciá-la ou defini-la no contexto. No entanto, o site que eu quero usar para conjugar verbos alemães não envia a palavra na url. Eu gosto deste conjugador o melhor: link e eu não sei muito sobre o Jquery nem sobre como as teclas de atalho podem ser usadas para enviar um verbo nos dados do formulário nesta página. Alguém sabe se isso é possível? Existem muitos conjugadores que eu poderia usar o método de URL, mas eu quero usar este site.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#f::
clipboard=
send, {ctrl down}c{ctrl up}
ClipWait, .5
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""http://forvo.com/search/"%clipboard%"/fr""
Return
#g::
clipboard=
send, {ctrl down}c{ctrl up}
ClipWait, .5
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""http://forvo.com/search/"%clipboard%"/de/""
Return
#s::
clipboard=
send, {ctrl down}c{ctrl up}
ClipWait, .5
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""http://forvo.com/search/"%clipboard%"/es/""
Return
#!f::
clipboard=
send, ^c
ClipWait, .5
StringReplace, totranslate, clipboard, %A_Space%, +, All
;MsgBox, %totranslate% = %clipboard%
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""http://context.reverso.net/translation/french-english/"%totranslate%"
Return
#!g::
clipboard=
send, ^c
ClipWait, .5
StringReplace, totranslate, clipboard, %A_Space%, +, All
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""http://context.reverso.net/translation/german-english/"%totranslate%"
Return
#!s::
clipboard=
send, ^c
ClipWait, .5
StringReplace, totranslate, clipboard, %A_Space%, +, All
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""http://context.reverso.net/translation/spanish-english/"%totranslate%"
Return
+#g::
clipboard=
send, {ctrl down}c{ctrl up}
ClipWait, .5
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""http://www.verbix.com/webverbix/German/"%clipboard%".html""
Return
+#f::
clipboard=
send, {ctrl down}c{ctrl up}
ClipWait, .5
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""http://www.collinsdictionary.com/dictionary/french-english/conjugation/"%clipboard%"
Return
+#s::
clipboard=
send, ^c
ClipWait, .5
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""http://www.spanishdict.com/conjugate/"%clipboard%"
Return
#+!g::
clipboard=
send, {ctrl down}c{ctrl up}
ClipWait, .5
Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ""https://en.wiktionary.org/wiki/"%clipboard%"#Declension""
Return