I will notice in this thread some part of my macros that could be usefull for other people.
Write a specific log file:
Code: Select all
macro TestLogFile {
LogFile("[$.datetime] - $.map \@$.pos : Hello Word\n")
}
sub LogFile {
open(FILE, ">>:utf8", "$Settings::logs_folder/macro.txt");
print FILE $_[0];
close(FILE);
}