Adding a synonym with Add Quick Term

When I add a synonym with the shortcut for Add Quick Term there are two issues.

1. I get a confirmation window if I want to add a synonym which adds an extra step. Can I dispense with this and have it added directly? 

2. The synonym is added, but not saved, I have to click the save icon.

Studio 2019SR1 15.1.3.55768

Parents
  • Hi Spiros,

    For your first question, there's nothing you can do about it natively in Studio, but you can use an AutoHotkey script to close the window automatically as soon as it appears.

    This script does just that:

    #IfWinActive ahk_exe SDLTradosStudio.exe
    #Persistent

    SetTimer, CloseThisWindow, 1000
    return

    CloseThisWindow:
    IfWinExist, Selected Term Already Exists
    Send y
    return

    If you're new to AutoHotkey, follow the steps below:

    1. Download AutoHotkey (www.autohotkey.com) and install it. Once installed, you won't see anything open, that's normal. AutoHotkey runs in the background and allows you to run your own scripts (macros).

    2. Go to a folder in Windows Explorer where you would like to save your script (I have a folder called AutoHotkey Scripts just to keep them all in one place). Right-click on an empty space in the folder and select New-AutoHotkey Script. Give a name to your script and save it.

    So far, you have the empty "skeleton" of a script.

    3. Right-click on the script and select Open, then open it with a text editor, such as Notepad (I prefer Notepad++, available for free).

    4. Once the file is open, you will see there's already some text in it. Paste the script code in a new line.

    5. Save the file. Now double-click the file, and this will load the script. Look for a green square with a white H in it in your system tray, which indicates that the script is active.

    For your second question, that only happens when you are in the Flags layout and use Add New Term instead of Quick Add New Term. If you switch to the Default layout, both options (Add New Term and Quick Add New Term) will save the new entry without an extra step.

Reply
  • Hi Spiros,

    For your first question, there's nothing you can do about it natively in Studio, but you can use an AutoHotkey script to close the window automatically as soon as it appears.

    This script does just that:

    #IfWinActive ahk_exe SDLTradosStudio.exe
    #Persistent

    SetTimer, CloseThisWindow, 1000
    return

    CloseThisWindow:
    IfWinExist, Selected Term Already Exists
    Send y
    return

    If you're new to AutoHotkey, follow the steps below:

    1. Download AutoHotkey (www.autohotkey.com) and install it. Once installed, you won't see anything open, that's normal. AutoHotkey runs in the background and allows you to run your own scripts (macros).

    2. Go to a folder in Windows Explorer where you would like to save your script (I have a folder called AutoHotkey Scripts just to keep them all in one place). Right-click on an empty space in the folder and select New-AutoHotkey Script. Give a name to your script and save it.

    So far, you have the empty "skeleton" of a script.

    3. Right-click on the script and select Open, then open it with a text editor, such as Notepad (I prefer Notepad++, available for free).

    4. Once the file is open, you will see there's already some text in it. Paste the script code in a new line.

    5. Save the file. Now double-click the file, and this will load the script. Look for a green square with a white H in it in your system tray, which indicates that the script is active.

    For your second question, that only happens when you are in the Flags layout and use Add New Term instead of Quick Add New Term. If you switch to the Default layout, both options (Add New Term and Quick Add New Term) will save the new entry without an extra step.

Children