- Aug
- 2,870
- 153
I recently demonstrated how to Save the TCC Console as HTML to RightNote.
In the SaveConsole plugin documentation,
@Charles Dye notes;
Ref: SaveConsole Plugin
PowerShell 5.1 makes available two cmdlets to record all commands and outputs from a session into a text file.
Start-Transcript Start-Transcript (Microsoft.PowerShell.Host) - PowerShell
Stop-Transcript Stop-Transcript (Microsoft.PowerShell.Host) - PowerShell
TCC has the LOG command,
which can perform similarly.
Ref: LOG command - Save a log of commands to a file
I have two aliases that emulate the PowerShell cmdlets;
On my Windows 10 system,
the log file is available at
C:\ProgramData\JP Software\Take Command 37\TCLogAll
When using TCC in Windows Terminal,
this will allow the saving of the TCC session to a text file.
NOTE: Remember to issue Start-Transcript BEFORE you begin the TCC session for which you want a copy retained.
Joe
After a session of typing in commands,
and testing out ways to do things,
I often want to keep a copy of what I have done in my tech notes for TCC.
I do this by using the SaveConsole plugin command,
from the SaveConsole plugin.
NOTE: I recommend NOT using the internal SaveConsole command,
as the HTML that it outputs has issues.
(See the notes in the SaveConsole plugin help for the reasons NOT to use the internal SaveConsole command)
I have created an alias for saving and opening the saved console using the SaveConsole plugin...
and testing out ways to do things,
I often want to keep a copy of what I have done in my tech notes for TCC.
I do this by using the SaveConsole plugin command,
from the SaveConsole plugin.
NOTE: I recommend NOT using the internal SaveConsole command,
as the HTML that it outputs has issues.
(See the notes in the SaveConsole plugin help for the reasons NOT to use the internal SaveConsole command)
I have created an alias for saving and opening the saved console using the SaveConsole plugin...
- Joe Caverly
- Replies: 7
- Forum: T&T - Miscellaneous
In the SaveConsole plugin documentation,
@Charles Dye notes;
Note that this command will not work as intended under Windows Terminal. In Windows Terminal, SAVECONSOLE will only save the visible portion of the console window, not the contents of the scrollback buffer. This is because Windows Terminal is not fully compatible with the documented Windows console APIs. TCC’s internal SAVECONSOLE command has the same issue. I don’t see any workaround unless Microsoft chooses to improve Windows Terminal’s compatibility — don’t hold your breath.
Ref: SaveConsole Plugin
PowerShell 5.1 makes available two cmdlets to record all commands and outputs from a session into a text file.
Start-Transcript Start-Transcript (Microsoft.PowerShell.Host) - PowerShell
Stop-Transcript Stop-Transcript (Microsoft.PowerShell.Host) - PowerShell
TCC has the LOG command,
which can perform similarly.
Ref: LOG command - Save a log of commands to a file
I have two aliases that emulate the PowerShell cmdlets;
Code:
start-transcript=log /a on
stop-transcript=log /a off
On my Windows 10 system,
the log file is available at
C:\ProgramData\JP Software\Take Command 37\TCLogAll
When using TCC in Windows Terminal,
this will allow the saving of the TCC session to a text file.
NOTE: Remember to issue Start-Transcript BEFORE you begin the TCC session for which you want a copy retained.
Joe