Quiclky disabling/enabling automatic term seach in the editor

Hello everyone,

My termbase is very large and searching for terms is time consuming, which slows down the editor.

In fact, I only need term recognition "on demand", i.e. when I have a doubt about how to translate a term.

Is there a quick way to enable/disable term recognition in the editor view (I mean not by opening the project settings and disabling the termbases - either by clicking on "project settings" or in the "termbase search window", which is about the same)?

Thanks for your help and advice.



A few things added after reply by Trados AI.
[edited by: Olivier at 4:28 PM (GMT 1) on 28 Apr 2024]
emoji
Parents Reply
  • Well the current AHK macro (for "CRTL !") looks like this.

    If no word is selected, the word under the cursor is searched in the TB, otherwise the selected word(s) is/are searched.

    The macro makes sure that the focus is in Studio when it is run.

    #SingleInstance Force
    #IfWinActive, ahk_exe SDLTradosStudio.exe  ; Only active when TRADOS is active
    
    ^!::  ; CRTL + !
    
    Suspend, On
    
    clipboard := ""  ; Start off empty to allow ClipWait to detect when the text has arrived.
    Send ^c ; Try to copy to the clipboard
    Sleep 200
    
    ; If nothing was copied to the clipboard, select the current word and copy it to the clipboard
    If (clipboard = "")
    {
    	;Clipboard does not contains data
    	Clipboard := ""
    	Send ^{Left}^+{Right} ; select current word
    	Sleep 100
    	Send ^c               ; copy selection to the clipboard
    	Sleep 250
    }
    
    Send !v ; ALT V
    Sleep 150
    Send t  ; T
    Sleep 150
    Send 3  ; 3
    Sleep 150
    
    ; we are in the Termbase Search panel
    ; Clear the content of the search box
    Send {End}
    Sleep 100
    Send +{Home}
    Sleep 100
    Send {Del}
    Sleep 100
    
    ; copy what's stored in the clipboard
    Send ^v
    
    ; execute search
    Send {enter}
    
    Suspend, Off
    
    return

    emoji
Children
No Data