Re: 2 AUTOHOTKEY scripts
Posted: 31 May 2022, 03:09
the_language :=languageCode_0415
infile = D:\skrypty\sepsa
outfile = %A_ScriptDir%\sepsa.txt
FileRead, text, %infile%
out := StrReplace(text, "OCŻ", "ośrodkowe ciśnienie żylne")
FileAppend, %out%, %outfile%,UTF-16
Run, %outfile%
This code is working but i got another problem i don't want to add manualny and write this script every time.I want to create a list and only change the start and end files how to do it?
infile = D:\skrypty\sepsa
outfile = %A_ScriptDir%\sepsa.txt
FileRead, text, %infile%
out := StrReplace(text, "OCŻ", "ośrodkowe ciśnienie żylne")
FileAppend, %out%, %outfile%,UTF-16
Run, %outfile%
This code is working but i got another problem i don't want to add manualny and write this script every time.I want to create a list and only change the start and end files how to do it?