Returns the contents of the console.
lsContents = consoleWindow.GetContents ([sItemIdentifier])
lsContents = consoleWindow.GetContents ([sItemIdentifier])
Variable | Description |
---|---|
lsContents | The console contents. LIST OF STRING. |
sItemIdentifier | The index of the console window or the caption of the window. If this parameter is left blank, Silk4NET returns the contents of the first found console window. STRING. |
lsContents = consoleWindow.GetContents(2)
lsContents = consoleWindow.GetContents("C:\\Windows\\system32\\cmd.exe[1]")