put caret in search field in Logiterm with a keyboard shortcut? Thread poster: Michael Beijer
| Michael Beijer United Kingdom Local time: 06:31 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: 07:31 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: 06:31 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? Protemos translation business management system | Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!
The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.
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... | | | | | |