create custom log file

Allows you to create a custom log file.


Example

Running this code will create a custom log file named "customLogFile.txt". The code is looped 10 times logged with random numbers from 1000 to 9999.

This is the file "customLogFile.txt".

loop(10) {
    plugin command("OS Automation.dll", "create custom log file", "Test", $rand(1000,9999), "{$special folder("Application")}\\customLogFile.txt")
}
loop(10) {
    plugin command("OS Automation.dll", "create custom log file", "Test", "{$rand(1000,9999)}
{$rand(1000,9999)}", "{$special folder("Application")}\\customLogFile.txt")
}

Was this helpful?

Previous Article

change mouse cursor