Home > Language Reference > LogFile and Clipboard Functions > StopLog

StopLog

The StopLog function stops logging line by line information during script execution.

Syntax

StopLog()

Parameter

None.

See also

LogFile
Comment

Example

LogFile("c:\Program Files (x86)\ WinTask\Logs\first_log.log",1,1)
Shell("notepad")
LogFile("c:\Program Files (x86)\ WinTask\Logs\second_log.log",1,1)
  UseWindow("NOTEPAD.EXE|Edit|Untitled - Notepad|1",1)
  StopLog     ' The subsequent lines are not logged anymore in second_log.log
  SendKeys("Hello<Enter>")