Code: Select all
File = Text (Test).txt
gui, add, text, w300 r10 center 0x200 vTextBox, Please Wait!!! ;"0x200" center text vertically (but "`n" or "`r`n" will not represent new lines)
gui, show
StartTime = %A_TickCount%
loop, 500000
text .= a_index "`r`n"
guicontrol, , TextBox, Done
FileDelete, %File% ;Delete File
FileAppend, %text%, %File%, UTF-8 ;"UTF-8" is the file Encoding \ UTF-16 \ UTF-8-RAW or UTF-16-RAW \ Empty or omitted: the system default ANSI code page, which is also the default setting.
gui, destroy
msgbox, % "Done - " A_TickCount - StartTime
guiclose:
exitapp
Code: Select all
File = Text (Test).txt
gui, add, text, w300 r10 center 0x200 vTextBox, Please Wait!!! ;"0x200" center text vertically (but "`n" or "`r`n" will not represent new lines)
gui, show
StartTime = %A_TickCount%
loop, 500000
text = %Text%%a_index%`r`n
guicontrol, , TextBox, Done
FileDelete, %File% ;Delete File
FileAppend, %text%, %File%, UTF-8 ;"UTF-8" is the file Encoding \ UTF-16 \ UTF-8-RAW or UTF-16-RAW \ Empty or omitted: the system default ANSI code page, which is also the default setting.
gui, destroy
msgbox, % "Done - " A_TickCount - StartTime
guiclose:
exitapp
Code: Select all
File = Text (Test).txt
gui, add, text, w300 r10 center 0x200 vTextBox, Please Wait!!! ;"0x200" center text vertically (but "`n" or "`r`n" will not represent new lines)
gui, show
StartTime = %A_TickCount%
loop, 20000
text := Text a_index "`r`n"
guicontrol, , TextBox, Done
FileDelete, %File% ;Delete File
FileAppend, %text%, %File%, UTF-8 ;"UTF-8" is the file Encoding \ UTF-16 \ UTF-8-RAW or UTF-16-RAW \ Empty or omitted: the system default ANSI code page, which is also the default setting.
gui, destroy
msgbox, % "Done - " A_TickCount - StartTime
guiclose:
exitapp
Code: Select all
File = Text (Test).txt
gui, add, text, w300 r10 center 0x200 vTextBox, Please Wait!!! ;"0x200" center text vertically (but "`n" or "`r`n" will not represent new lines)
gui, show
StartTime = %A_TickCount%
loop, 20000
text = % Text a_index "`r`n"
guicontrol, , TextBox, Done
FileDelete, %File% ;Delete File
FileAppend, %text%, %File%, UTF-8 ;"UTF-8" is the file Encoding \ UTF-16 \ UTF-8-RAW or UTF-16-RAW \ Empty or omitted: the system default ANSI code page, which is also the default setting.
gui, destroy
msgbox, % "Done - " A_TickCount - StartTime
guiclose:
exitapp