Folks:

Basic scripting questions:

1. When you launch FS from command line and provide a -tcl command to invoke a tcl script, how do you supply arguments to that script (or is that even possible)?

FWIW, I tried things along the lines of:

set myvar [lindex $argv 1]

... and this gives an error about "no such variable".


2. Once a script is running, what variables can it look at to find out:

Current subject id
Path to current subject
Details about currently loaded surfaces: especially right or left


3. What assumptions, if any, can a script rely on as to current directory?

Thanks,

Graham

_______________________________________________
Freesurfer mailing list
[EMAIL PROTECTED]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to