logautoclosemode

Closes a log file automatically when macro ends. (version 4.79 or later)

logautoclosemode <flag>

Remarks

When the value of <flag> is 1, a log file will be closed after the macro is finished.
When the value of <flag> is 0, a log file will not be closed after the macro is finished.

NOTICE: When the macro script is terminated, the configuration value is set to default. In other words, a log file is not always closed after the macro is finished.

Example

logautoclosemode 1
logopen 'D:\teraterm_sample.log' 0 0

; do something...

end

See also