Script for deleting from cursor position in a segment?

Dear colleagues,

I have been using the following script to delete all text from cursor position in a target segment, but all of a sudden it's no longer working (maybe a conflict in key assignment after installing new programs on my computer?)  Can someone help me tweak this script to make it work again?  I just took a quick look at Studio 2017's shortcuts and only see a shortcut for clear target text, not exactly what I was looking for.

Thank you!

Chunyi

 

^D:: ; Delete to end of segment
 sendinput, +^{PgDn}
 sendinput, {Delete}
 sleep, 100
 sendinput, {Esc}
 return 

Parents Reply Children
  • Of course, I did not think about this.
    Simply because I work only with Studio - jobs from MemoQ or Transit are converted to Studio and other tools are far too rare for me. And I try to avoid jobs with the tool which wants to crucify me. So in my case one tool, one shortcut :)

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.