Different HyperWorks applications have different methods for launching the Tk Console (tkcon), also called the command window. For Altair Simulation products, use Tools > Command Window…. For HyperMesh, click View > Command Window.
Once tkcon is open, Tcl/Tk commands, as well as application specific Tcl API commands, can be entered directly.
Tcl scripts can also be launched from within tkcon. The source command is used for this purpose:
cd "C:/My_Tcl_Scripts"
source hello.tcl