The Tcl text interface provides complete access to all the VMD commands. Anything that can be done from the menus can be done with VMD text commands.