put caret in search field in Logiterm with a keyboard shortcut? Thread poster: Michael Beijer
| Michael Beijer United Kingdom Local time: 22:11 Member (2009) Dutch to English + ...
I just sent this to LogiTerm support, thought I'd ask here too: Is there any way to get to the search field in Logiterm with a keyboard shortcut? I'm working on an AutoHotkey script to automatically search my LT database... Michael | | | xxRGProz (X) Spain Local time: 23:11 F6 = focus in search box | And a script that might help | Nov 18, 2019 |
Hi Michael, You can press F6 to focus on the search box in LogiTerm: Or you could also use this in AutoHotkey: ControlFocus, Edit1, ^LogiTerm Pro This is the script I use, hope it helps: SendMode, Input SetTitleMatchMode, RegEx ; -- Win + w -> Search in LogiTerm CheckKeysPressed: While GetKeyState("Ctrl","P") || GetKeyState("LWin","P") || GetKeyState("RWin","P") || GetKeyState("Shift","P") || GetKeyState("Alt","P") Sleep, 25 Return SelectToClip: Clipboard := "" Send, ^c ClipWait, 0 If ErrorLevel Exit Return #w:: Gosub, CheckKeysPressed Gosub, SelectToClip Clipboard := RegExReplace(Clipboard, "^\s+|\s+(?=\s)|\s+$") ; remove extra spaces If WinExist("^LogiTerm Pro ahk_exe ltwebclient.exe") WinActivate Else { Run, %ProgramFiles%\Terminotix\LogiTerm\ltwebclient.exe WinWaitActive, ^LogiTerm Pro ahk_exe ltwebclient.exe,,5 If ErrorLevel Return Sleep, 1000 } ControlFocus, Edit1, ^LogiTerm Pro ahk_exe ltwebclient.exe Send, "%Clipboard%" Send, {Enter} Return | | | Michael Beijer United Kingdom Local time: 22:11 Member (2009) Dutch to English + ... TOPIC STARTER
Great, thanks for that! I had another script interfering, which is why I didn't realise it was F6 (I tried them all). Thanks especially for the info about the ControlFocus, Edit1 part, that was very useful. Michael | | | There is no moderator assigned specifically to this forum. To report site rules violations or get help, please contact site staff » put caret in search field in Logiterm with a keyboard shortcut? Trados Studio 2022 Freelance | The leading translation software used by over 270,000 translators.
Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop
and cloud solution, empowering you to work in the most efficient and cost-effective way.
More info » |
| Anycount & Translation Office 3000 | Translation Office 3000
Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |