MyChat Scripts: property TStringList.Text, full content of a list
Get the content of the list as one block.
Syntax
property TStringList.Text: string;
Result
A full list text, a set of strings divided by CRLF.
Example
var
SL: TStringList;
begin
SL := TStringList.Create;
SL.Add('Wake');
SL.Add('Heavy pulse');
SL.Add('Bloody eyes');
SL.Add('Sweaty clothes');
SL.Add('New routine');
SL.Add('That I''ve learned');
SL.Add('To understand and know');
SL.Add('Play my tricks');
SL.Add('Fragile mind');
SL.Add('Rest your head');
SL.Add('On me');
mLogScript(SL.Text, '');
SL.Free;
end.
Script work result
[23:32:58] (Log "TextProperty"): Wake
Heavy pulse
Bloody eyes
Sweaty clothes
New routine
That I've learned
To understand and know
Play my tricks
Fragile mind
Rest your head
On me
[23:32:58] (Run "TextProperty"): Script operation time: 5 ms
[23:32:58] (Run "TextProperty"): Script done successfully.
See also
Created with the Personal Edition of HelpNDoc: Transform your help documentation into a stunning website