Menu: Utilities->Tools→Console...
This open a tkcon console to use Tcl commands interactively for developer or advanced users.
Note: this console uses the GiD-tcl interpreter, then is possible to use not only Tcl standard commands, but also GiD added commands like GiD_Info or GiD_Process