Hi,

Is there any possible location of a script file that the
Jmol-Application would automatically evaluate when starting? (Similar
to, say, an .bashrc)
I guess not, at least I couldn't find anything the documentation (main
website, wiki or scripting doc).

I would really like to pre-define a series of functions that from that
point on are available as scripting commands, without manually loading
the script-file every time.

I know there are a few workarounds to do this:
1) add   'script "${HOME}/.jmol/startup.spt";'   to all of my scripts
2) add   '-J $HOME}/.jmol/startup.spt'   to my jmol or jmol.sh startup script
3) define my functions in a macro file
'$HOME}/.jmol/macros/startup.macro'   and execute it with a few clicks
everytime after Jmol has started. (this is actually what I do right
now)

But 1) and 3) are kind of tedious and 2) would pre-occupy the -J
script and block me from using it later on.

If, however, Jmol would evaluate an existing file called, say,
"${HOME}/.jmol/startup.spt", I could define my own default settings,
function, etc., in there to always find a pre-configured
Jmol-environment, whenever I open the Application.

Would someone else find this useful as well?  Or does this already
exist and is just not documented?


Oliver

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to