Nuke.tprint on Terminal opened Shot/Asset

Hi all,
There is a way to print (nuke.tprint) on Nuke terminal the Shot/Asset qhen you open a Shot/Asset?
When you have 2 or 3 shots, at the same time, is impossible to now what terminal is.

Thanks!

You could run a command in your change_context core hook like so:

import os
os.system("TITLE {}".format(context.entity["name"]))

Starting with TITLE on Windows at least will rename the Title of the command prompt/terminal window.

On other OS’s it may be similar behaviour.