Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-15 Thread Robert Hanson
so is it still causing that problem? I can't see how IOException can be an unknown value On Mon, Dec 15, 2008 at 10:43 AM, Rolf Huehne wrote: > Robert Hanson wrote: >> Rolf, please check now. I have no idea about the IOException problem. >> What an odd error. I'm certainly not having that issue -

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-15 Thread Rolf Huehne
Robert Hanson wrote: > Rolf, please check now. I have no idea about the IOException problem. > What an odd error. I'm certainly not having that issue -- you might > need to do a clean build. > I always do a cleanup before compiling Jmol ("ant clean; ant"). Regards, Rolf -

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-15 Thread Robert Hanson
Rolf, please check now. I have no idea about the IOException problem. What an odd error. I'm certainly not having that issue -- you might need to do a clean build. The problem with -w should be fixed. The problem was that I changed the way the -x option works, so that it just appends ";exitJmol" t

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-15 Thread Rolf Huehne
Robert Hanson wrote: > I think this is all fixed now. The sequence of execution is: > > file load > -J (Jmol script as argument) > -s (script file name as argument) > -j (Jmol script as argument) > -x (exit) > > The -n switch (no display) adds an implicit -x, and it is executed > only after the f

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-09 Thread Robert Hanson
I think this is all fixed now. The sequence of execution is: file load -J (Jmol script as argument) -s (script file name as argument) -j (Jmol script as argument) -x (exit) The -n switch (no display) adds an implicit -x, and it is executed only after the final script is run. Basically what the -x

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-09 Thread Rolf Huehne
[EMAIL PROTECTED] wrote: > Quoting Robert Hanson <[EMAIL PROTECTED]>: > >> Rolf, will this cause any real problem? You just need to add load >> \"...\"; at the beginning of your -j script. >> >> the command line parser -- presumably standard Java -- does not accept >> quoted strings as values for

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-07 Thread rhuehne
Quoting Robert Hanson <[EMAIL PROTECTED]>: > Rolf, will this cause any real problem? You just need to add load > \"...\"; at the beginning of your -j script. > > the command line parser -- presumably standard Java -- does not accept > quoted strings as values for -x flags. Quoted strings are left

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-07 Thread Robert Hanson
Rolf, will this cause any real problem? You just need to add load \"...\"; at the beginning of your -j script. the command line parser -- presumably standard Java -- does not accept quoted strings as values for -x flags. Quoted strings are left as arguments. Maybe someone can tell me how to do it

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-07 Thread rhuehne
Quoting Robert Hanson <[EMAIL PROTECTED]>: > right - you get one or the other, not both. You must either specify a > file or specify a script. You can't do both. > The -j option officially reads: > > -j,--jmolscript quoted argument is Jmol script to execute > > So if you need to spec

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-06 Thread Robert Hanson
right - you get one or the other, not both. You must either specify a file or specify a script. You can't do both. The -j option officially reads: -j,--jmolscript quoted argument is Jmol script to execute So if you need to specify a file, you have to specify that you want to load it

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-05 Thread Rolf Huehne
Robert Hanson wrote: > this is fixed. > > On Wed, Dec 3, 2008 at 9:28 AM, Rolf Huehne <[EMAIL PROTECTED]> wrote: >> Robert Hanson wrote: >>> great -- so let me know if that doesn't work for you. >>> >> It looks as if "-j" doesn't work properly (version 11.6.3 and SVN >> revision 10421). >> >> When

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-04 Thread Robert Hanson
this is fixed. On Wed, Dec 3, 2008 at 9:28 AM, Rolf Huehne <[EMAIL PROTECTED]> wrote: > Robert Hanson wrote: >> great -- so let me know if that doesn't work for you. >> > It looks as if "-j" doesn't work properly (version 11.6.3 and SVN > revision 10421). > > When I try to set a variable within th

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-03 Thread Rolf Huehne
Robert Hanson wrote: > great -- so let me know if that doesn't work for you. > It looks as if "-j" doesn't work properly (version 11.6.3 and SVN revision 10421). When I try to set a variable within the "-j" command Jmol tries to find a file with that name: -j "test_var=true;" Error message:

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-03 Thread Robert Hanson
great -- so let me know if that doesn't work for you. On Wed, Dec 3, 2008 at 8:30 AM, Rolf Huehne <[EMAIL PROTECTED]> wrote: > Robert Hanson wrote: >> I guess I don't understand the problem. What's wrong with doing just -j with >> >> >> Jmol -j "some global settings here;script ;script ;sc

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-03 Thread Rolf Huehne
Robert Hanson wrote: > I guess I don't understand the problem. What's wrong with doing just -j with > > > Jmol -j "some global settings here;script ;script ;script " > > ? > There is nothing wrong with that. I just overlooked it. (I guess I am just used to think of script loading an

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-03 Thread Robert Hanson
I guess I don't understand the problem. What's wrong with doing just -j with Jmol -j "some global settings here;script ;script ;script " ? Bob On Mon, Dec 1, 2008 at 8:37 AM, Rolf Huehne <[EMAIL PROTECTED]> wrote: > Bob, I somehow missed tp provide an answer to this. > > Unfortuna

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-12-01 Thread Rolf Huehne
Bob, I somehow missed tp provide an answer to this. Unfortunately this order is exactly opposite to what I would need: 1) do some global settings 2) run a script file directed by the global settings Since there may also be cases where the other order would be needed it might be good if there wer

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-10-13 Thread Robert Hanson
-s first, then -j On Mon, Oct 13, 2008 at 10:45 AM, Rolf Huehne <[EMAIL PROTECTED]>wrote: > Robert Hanson wrote: > > Lots of new features in Jmol 11.7 already: > > # new feature: (Application) command line option -j --jmolscript "script > > commands" > > > > Another feature request - to be able

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-10-13 Thread Rolf Huehne
Robert Hanson wrote: > Lots of new features in Jmol 11.7 already: > # new feature: (Application) command line option -j --jmolscript "script > commands" > > Another feature request - to be able to have multiple scripts on the command > line. Well, this is better -- any script "inline" on the comma

Re: [Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-10-13 Thread Robert Hanson
That should read: > > # new feature: load TRAJECTORY "[topology file]" COORD > ({bitset})|{first,last,stride} "mdcrd::md1.crd COORD ..." > > > (in fact, "FILES" works fine there in place of "TRAJECTORY", but TRAJECTORY seems more appropriate in this case.) Bob -- Robert M. Hanson Professor of

[Jmol-users] Jmol 11.7.1 - 11.7.3 new features

2008-10-12 Thread Robert Hanson
Lots of new features in Jmol 11.7 already: version=11.7.3 # new feature: x = file("some file name") or x = file("?") -- returns full path to file Seems to me this could be useful. For example, from JavaScript: var filePath = jmolEvaluate('file("?")') Now filePath is the full path to a file sp