Hello, i need some help.
I want to have an autohotkey script to be compiled, and when i run it I can open SCITE4AutohotkeyScript and change every "A3" in the SCITe4Autohotkeyscript into "A4", and also "INPUT2" to "INPUT3". So basically i just want to automate my scripting process .
But i can't figure it out how to write it in line of code /autohotkey script.
Can somebody help me with this? Thankyou very much.
Need to Automatce Scripting Process
Re: Need to Automatce Scripting Process
Code: Select all
file = %TEMP%\test.ahk
new = %TEMP%\test-new.ahk
app = SciTE.exe
FileRead, ttext, %file%
ttext := StrReplace(ttext, "A3", "A4")
ttext := StrReplace(ttext, "INPUT2", "INPUT3")
FileRecycle, %new%
FileAppend, %ttext%, %new%
Run, %app% "%new%"
Re: Need to Automatce Scripting Process
Thankyou very much for your help sir! Really apreciate it! ![Bravo! :bravo:](./images/smilies/bravo.gif)
![Bravo! :bravo:](./images/smilies/bravo.gif)