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

Maxim Polukhin  Identity Verified
Local time: 22:34
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 (http://www.youtube.com/watch?v=10KM27uzoIE).

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.

Thanks


 

Rossana Triaca  Identity Verified
Uruguay
Local time: 16:34
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







CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search