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 Group

________________________
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
  • Thank you Paul! I use something slightly different for the same purpose:

    Rwin:: ; removes AT from segment status after post-editing and confirms the segment
    Send ^a
    Send ^c
    Send !{Delete}
    Send {Up}
    Send {Down}
    Send ^v
    Sleep 100
    Send !q ; (alt+Q is my custom shortcut to confirm the segment)
    Return

    I like your idea of overwriting target with source instead of having to move the cursor up and down to clear the AT status, so I'll modify my script with that.

  • For some reason I can't get "copy source to target" to work reliably with this script, so I reverted to "clear segment" but got rid of the up and down arrows to move out of the segment and back into it (I can't remember now why I had added that, but if it comes back to me I'll report back).

    Here's another variation of the script that combines inserting the translation result (when AT is not populated automatically into the segment) and removing the AT status. This script doesn't confirm the segment, so it will just insert the translation result, remove the AT status and leave it ready for post-editing.

    This script passes through the usual function of Ctrl+1, and it just adds the extra functionality to the shortcut.

    ~^1:: ;Inserts translation result and removes AT status
    Send ^a
    Send ^c
    Send !{Delete}
    Send ^v
    Return

    The script can be modified to do the same for Ctrl+2, Ctrl+3, etc.
  • Quoting:

    ~^1:: ;Inserts translation result and removes AT status
    Send ^a
    Send ^c
    Send !{Delete}
    Send ^v
    Return

     

    Hm, this changes the status from unedited to edited AT for me but does not remove AT. This is how I normally manually remove AT scores (delete = empty target segment). Does your 1 assume the top row numbers or number pad? I already have customized ctrl + number pad (x) as a shortcut for entering translation results. As for moving out and back into the target: Studio sometimes has an issue with keeping focus in the cleared target segment, in which case you have to manually do that. Maybe that's why you added it?

  • Unknown said:

    Quoting:

    ~^1:: ;Inserts translation result and removes AT status
    Send ^a
    Send ^c
    Send !{Delete}
    Send ^v
    Return

     

    Hm, this changes the status from unedited to edited AT for me but does not remove AT. This is how I normally manually remove AT scores (delete = empty target segment). Does your 1 assume the top row numbers or number pad? I already have customized ctrl + number pad (x) as a shortcut for entering translation results. As for moving out and back into the target: Studio sometimes has an issue with keeping focus in the cleared target segment, in which case you have to manually do that. Maybe that's why you added it?

     

     

    Hi Lianne, 

    It's the 1 in the top row numbers. If you already have Ctrl+1 to insert the 1st translation result, which is what I have as well, what this does is simply add the additional actions to the Ctrl+1 functionality, which is what the tilde before the shortcut does. What happens if you follow each of the steps in the script manually? That can give you a hint of which step isn't working for you. When trying out the steps, remember that ^ is Ctrl and ! is Alt.

  • Hi Nora,

    Thank you for your reply and explaining some script. My problem is caused by custom kb shortcuts in Studio. I have (alt+del) replaced with ctrl+alt+; (semicolon/colon, which is Oem1) and my (alt+ins) is replaced with ctrl+alt+Oem7 (single/double quote).
    I want to keep these, so I need to figure out the correct script. Maybe: Send ^!Oem1 instead of Send !{Delete}.

    In the meantime, I am also looking for some instructions on how to use these "Discourse" forums, because I don't even know how to quote a post.

    Thanks!
Reply Children