AutoHotKey to toggle Autopropagation on and off

Trados Studio 2024. I regularly receive some large files where the CM is corrupted and the client does not want to clean up the TM. I need to toggle Autopropagation on and off quickly. Studio does not have a shortcut set up to do this, and going into Options every time is time consuming. Does anyone have an AutoHotKey script available? Many thanks.

emoji
Parents
  • Probability score: 0.8  

    Question improvement suggestion: Provide specific details about your current AutoHotkey setup or any scripts you've tried, as well as the exact version of Trados Studio you are using.  

    In the meantime, based on the information you have provided, here is a suggested answer to your question:  

    Hello! To create an AutoHotkey script that toggles Autopropagation on and off in Trados Studio 2024, you can follow these steps:

    **Step 1:** Install AutoHotkey if you haven't already. You can download it from the official AutoHotkey website.

    **Step 2:** Create a new AutoHotkey script. Right-click in a folder, select "New," and then "AutoHotkey Script." Name your script (e.g., `ToggleAutopropagation.ahk`).

    **Step 3:** Open the script in a text editor (like Notepad) and enter the following code:

    ```ahk

    #IfWinActive ahk_exe SDLTradosStudio.exe

    F12:: ; You can change F12 to any key you prefer

       Send, !f ; This simulates pressing Alt + F to open the File menu

       Sleep, 100

       Send, t ; This simulates pressing T to open the Options

       Sleep, 100

       Send, {Down 5} ; Adjust this number based on where the AutoPropagation option is located

       Send, {Space} ; This toggles the AutoPropagation option

       Sleep, 100

       Send, {Enter} ; Confirm the changes

    return

    #IfWinActive

    ```

    **Step 4:** Save the script and double-click it to run. You should see an AutoHotkey icon in your system tray, indicating that the script is active.

    **Step 5:** Now, whenever you press F12 (or your chosen key), it will toggle the Autopropagation setting in Trados Studio.

    Feel free to adjust the `Send, {Down 5}` line to match the exact position of the AutoPropagation option in your version of Trados Studio. You may need to experiment a bit to find the right number of down arrow presses.

    I hope this answer addressed your question. If not, please reject the answer, add the question improvement suggestion information, and click the RWS Community AI checkbox on the right to try again.  

    RWS Community AI

    emoji
Reply
  • Probability score: 0.8  

    Question improvement suggestion: Provide specific details about your current AutoHotkey setup or any scripts you've tried, as well as the exact version of Trados Studio you are using.  

    In the meantime, based on the information you have provided, here is a suggested answer to your question:  

    Hello! To create an AutoHotkey script that toggles Autopropagation on and off in Trados Studio 2024, you can follow these steps:

    **Step 1:** Install AutoHotkey if you haven't already. You can download it from the official AutoHotkey website.

    **Step 2:** Create a new AutoHotkey script. Right-click in a folder, select "New," and then "AutoHotkey Script." Name your script (e.g., `ToggleAutopropagation.ahk`).

    **Step 3:** Open the script in a text editor (like Notepad) and enter the following code:

    ```ahk

    #IfWinActive ahk_exe SDLTradosStudio.exe

    F12:: ; You can change F12 to any key you prefer

       Send, !f ; This simulates pressing Alt + F to open the File menu

       Sleep, 100

       Send, t ; This simulates pressing T to open the Options

       Sleep, 100

       Send, {Down 5} ; Adjust this number based on where the AutoPropagation option is located

       Send, {Space} ; This toggles the AutoPropagation option

       Sleep, 100

       Send, {Enter} ; Confirm the changes

    return

    #IfWinActive

    ```

    **Step 4:** Save the script and double-click it to run. You should see an AutoHotkey icon in your system tray, indicating that the script is active.

    **Step 5:** Now, whenever you press F12 (or your chosen key), it will toggle the Autopropagation setting in Trados Studio.

    Feel free to adjust the `Send, {Down 5}` line to match the exact position of the AutoPropagation option in your version of Trados Studio. You may need to experiment a bit to find the right number of down arrow presses.

    I hope this answer addressed your question. If not, please reject the answer, add the question improvement suggestion information, and click the RWS Community AI checkbox on the right to try again.  

    RWS Community AI

    emoji
Children
No Data