To exchange 2 tag items

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This code is very specific (special) purpose.
; It modifies contents a little bit. For instance;
; from "Tag 120.00 Tag Tag .-€ Tag" into "Tag € Tag Tag 120.00 Tag"
; and nothing else.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; You select a "Folder" then it process all the "sdlxliffs" within it.
; It visits child folders too(means All of them).
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This code does not make any "BackUps" so..
; you'd better to make a "BackUp Folder" just in case before you do_It
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

NOTE: it is not for general purpose.

Before and after screenshots of Trados Studio software showing text modification. Top image has currency symbols after numbers, bottom image shows currency symbols before numbers.

Attahced:

AutoHotkey source code + sample sdlxliff

Testing simple Replace.zip



Generated Image Alt-Text
[edited by: Trados AI at 4:27 AM (GMT 0) on 5 Mar 2024]
Parents Reply Children
No Data