put caret in search field in Logiterm with a keyboard shortcut? Thread poster: Michael Beijer
| Michael Beijer United Kingdom Local time: 00:50 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: 01:50 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: 00:50 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? TM-Town | Manage your TMs and Terms ... and boost your translation business
Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.
More info » |
| CafeTran Espresso | You've never met a CAT tool this clever!
Translate faster & easier, using a sophisticated CAT tool built by a translator / developer.
Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools.
Download and start using CafeTran Espresso -- for free
Buy now! » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |