Does anyone know a way to make output files write on new lines? Everything i have tried to make a new line just shows up as weird symbols in the text files.
Does anyone know a way to make output files write on new lines? Everything i have tried to make a new line just shows up as weird symbols in the text files.
Are you trying to save the contents of the debug box to a .txt file?
If so, I found this in one of my old scripts, it might help you.
SCAR Code:procedure SaveToTxt;
var
I: Integer;
begin
I := ReWriteFile(AppPath + 'SCRIPTprogressReport.txt', False);
WriteFileString(I, GetDebugText);
CloseFile(I);
end;
Scripts: Varrock Smither! | Fight Caves Runner! | Kebab Buyer! | L.A.M.E. (Outdated)
Tutorials: SRL user-defined procedures | JaGex UID files | Printing your scripts
Applications: StartUp Notepad | SCAR Assistant
Misc: FREE Delphi 7 v2 | Official SRL Graphics
Thank you! Just what i needed![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)