From: Stephan Grein (grein_at_informatik.uni-frankfurt.de)
Date: Wed Mar 25 2015 - 06:45:04 CDT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Meanwhile i found the answer, i just need to supply -e script.tcl to
vmd, sorry for bothering you guys.

Best regards,
Stephan

Am 25/03/15 um 12:00 schrieb Stephan Grein:
> Dear Users,
>
> I have various TCL scripts which i load on my Desktop Computer
> with the TK/TCL LoadFile Dialog and execute these scripts
> afterwards.
>
> Now I want to use my TCL Scripts to be executed by VMD in text
> mode, i. e. i call vmd binary and it should load the tcl script
> automatically.
>
> I know I could load vmd and do "package require Tcl; source
> myscript.tcl" - but i want to automate that task, since i have
> many Tcl scripts present.
>
> Instead I would like to say something like this: vmd
> -execute_tcl_script /path/to/tcl/script.tcl
>
> Best regards and thanks in advance, Stephan
>
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVEp/AAAoJEH3H1/1zsiJLvgoQAI4llnalIzd43a/CxLB4/B5e
3PE5mFAvNKi5lyHFHQRYuyDwAutDlxK/iZzEZ6OwWvn7ilazVqqJ4mWJVISv/1yi
XYrMfBSYjuiqnLSA1N1oBXw5QYS7PaaTj2PlZchIhB1Vv5rFMaRHFNLOMQOuMqqS
sur5FqGwMu+hd3L/lMRB8IIaSDnZu84vQ1L6IJN7EwaxB9H//hT+sHlxSKhrPrTo
xq0VkGeukLwoONaDEAaY2Ybt1agkWMIEvdogo7vZK6oTqrMEey7yehNIBHu1VFT/
O5pxgBIRNPBs0CzZy7QusZ+UBVG8jOfPVz0V7QIeCourgrpa2QICMnlDgDHwcOnQ
Uea0+RgDEsHayNH/6fF9CowhyhRqJcHXxzxY0HOJhDRZ/VZvHNUE0wbvMpern5Jj
PizS0PflVZME8it/IE3ZkkrLdjq4pmGrBaDwytXDNdnV1AARqGBw1q9SpM6VSQWn
vxOPWrefFZ/CFN4kFS2QzBlnXyIydEauCDncQ2D32S5Hu1VEUBcg9LH79r6dm+X7
d+97gpPZ5H+9a+a253UW4sZlU363pHW3Mtyz+99+njtzcSUYOmq739ZyBl+QKwq4
owmBd9mdXjfVQTJi6Rvw6+fq7zIiA9PBLOfPHq/cDuQ+r95JVauBaBN+Vj7b1X2P
BZX1LeIu3xyXG0K2ZdEA
=YX8B
-----END PGP SIGNATURE-----