@Alan-Kilborn said:
how to make hitting a simple “print” statement in a script also re-show a currently hidden PS console window
If you don’t mind changing your print statements into print() function calls, you should be able to adapt the technique shown here: https://stackoverflow.com/questions/550470/overload-print-python
into something like this (put it in startup.py):
from __future__ import print_function import __builtin__ def print(*args, **kwargs): notepad.runPluginCommand('Python Script', 'Show Console') return __builtin__.print(*args, **kwargs)…could be a bit redundant, running the show-console command, even when already shown…