Exactly. That's why you need the -J option in this case. So that "$CC" is
being passed to the script as a parameter. If you want to also load that
file, use:

java -jar "%JMOL_HOME%\JmolData.jar" -ion $CC -J "headless.spt('$CC')"

alternatively, you can  recover "$CC" as

molUnit =  getProperty("auxiliaryInfo.models[1].dbName")

and, aslo, you don't need [ml] there. just use [0]. It means "the last
position"

Bob

​
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to