CAT-Tools/MemoQ/AutoHotKey scripts for memoQ

From Wikibooks, open books for an open world
Jump to navigation Jump to search

; Ctrl+Alt+d deletes multiple selected entries in TB editor
#IfWinActive, memoQ
^+d::
SendInput, !b ; select 'Term Base' menu
SendInput, d ; select 'Delete'
SendInput, y ; select 'Yes'
return

; Shift+Ctrl+m deletes comments. It will work either from the translation grid or if you already have the comments box open.
#IfWinActive, memoQ
+^m::
Send ^m
WinWaitActive Edit comments
Send ^a{del}{tab}{enter}
return
#IfWinActive, Edit comments
+^m::
Send ^a{del}{tab}{enter}
return