The previous example showed how to control VMD from another process and the one before that showed how to get access to all the VMD\ display commmands. These can be combined to have one instance of VMD control another. Here's how.
On the VMD to be controlled (on the machine named foo), allow external communications by executing external on. On the controlling VMD enter these lines:
external connect foo proc vmdlog s { external send $s }