Removing AT statuses as you work

This one has always been a hot topic and I've been fairly opinionated on this in the past, but today there are so many published ways to do this I thought I'd share a simple way of automating the removal of the AT status as you work:

;------------------------------------------------------------------------------
; Clear AT statuses in SDL Trados Studio.
;------------------------------------------------------------------------------
^+f::
Send ^a^c!{Ins}^a^v
Return

The script is simple enough, you just press Ctrl+Shift+f and the AT status from a machine translation magically disappears so the active segment appears to be a new translation for you to post-edit.  The script just automates the selection of the target, copy the target to the clipboard, overwrite the target with the source which clears the AT status, select the target again and paste back the original machine translation.

Paul Filkin | RWS

Design your own training!
You've done the courses and still need to go a little further, or still not clear? 
Tell us what you need in our Community Solutions Hub

Parents Reply
  • Hi ,

    Maybe you need a delay in there. Or maybe you have different shortcuts than the ones I use. What happens if you do this?

    1. Click in a target segment with the AT status
    2. Press Ctrl+A (to select all the text)
    3. Press Ctrl+C (to copy the selected text to the clipboard)
    4. Press Alt+Ins (to copy source to target)
    5. Press Ctrl+A (to select all the text)
    6. Press Ctrl+V (to paste the original content back in)

    Does that all work with these shortcuts? If it doesn't then replace the appropriate part of the script with the shortcuts you use.

    Regards

    Paul

    Paul Filkin | RWS

    Design your own training!
    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children
  • I don’t think it needs a delay in here (never experienced issues with the speed), but probably a shortcut issue indeed... We are on the same line!
  • Hi Paul,

    I suspected that it was in my custom shortcuts but I reverted "alt + ins" instead of "alt + del" to test it and that did not help.
    (I always use "clear target" for this manual sequence rather than inserting source, but you added ctrl+A after that, which I don't).
    After reverting to defaults, your script now works.

    For deleting (or clearing) target segment (alt + del), I have:
    ctrl + alt + ; (=ctrl+alt+Oem1)
    And for copy source to target (alt + ins):
    ctrl + alt + ' (=ctrl+alt+Oem7)
    If I want to keep these custom shortcuts, how do I change your script? I am new to AHK and haven't looked into the scripts.

    Thanks.
    Lianne
  • Lianne van de Ven said:
    Hi Paul,

    I suspected that it was in my custom shortcuts but I reverted "alt + ins" instead of "alt + del" to test it and that did not help.
    (I always use "clear target" for this manual sequence rather than inserting source, but you added ctrl+A after that, which I don't).
    After reverting to defaults, your script now works.

    For deleting (or clearing) target segment (alt + del), I have:
    ctrl + alt + ; (=ctrl+alt+Oem1)
    And for copy source to target (alt + ins):
    ctrl + alt + ' (=ctrl+alt+Oem7)
    If I want to keep these custom shortcuts, how do I change your script? I am new to AHK and haven't looked into the scripts.

    Thanks.
    Lianne
     

     

    Hi Lianne,

    In AHK, ctrl + alt + ; is ^!;, so you would need the appropriate line to read:

    Send ^!;

    For ctrl + alt +', use:

    Send ^!'