Macro in Autohotkey for replacement of word "XXXXXXX" with word "YYYYYYYYYY" in Studio 2014
Thread poster: Maxim Polukhin

Maxim Polukhin  Identity Verified
Local time: 23:52
Member (2011)
English to Russian
+ ...
Aug 5, 2014

I want to create a macro in Autohotkey, which will do hundreds of replacements in the SDL Trados Studio 2014.

For example it will do the following replacements:

" / " with "/"
" ," with ","
word "XXXXXXX" with word "YYYYYYYYYY".

That is, I want to create a macro, that will eliminate lots of common errors in machine translation.

I found a wonderful video on youtube (

It clearly explains that I need to record my steps (replacments) using AutoScriptWriter programs, later I need to assign the shortcut key in Autohotkey to run the macro, next step is to copy the text from AutoScriptWriter into Autohotkey and end write "return" at the end of the script.

But for some reason I can't create this macro. When I carefully review the text recorded by AutoScriptWriter, I don't see a line where replacement of word "XXXXXXX" with word "YYYYYYYYYY" is recorded.

I would like to ask the experts to help me and write the script, which would perform the following action:

replacement of word "XXXXXXX" with word "YYYYYYYYYY" (if possible it should work not inly in SDL Trados Studio 2014 but also in Microsoft Word).

Most probably, the most effective script in Autohotkey will contain only 3-4 lines and StringReplace function.



Rossana Triaca  Identity Verified
Local time: 17:52
Member (2002)
English to Spanish
I think a macro is overkill Aug 6, 2014

If you only want to do 3 replacements: you can open a merged view in SDL Trados 2014 and run the standard S&R or, if that proves to be too slow due to the number of files, you can use an openexchange app (there are many free ones available) that can perform a global S&R


To report site rules violations or get help, contact a site moderator:

You can also contact site staff by submitting a support request »

Macro in Autohotkey for replacement of word "XXXXXXX" with word "YYYYYYYYYY" in Studio 2014

Advanced search

Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search