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 as part of that script using a LOAD command.


On Fri, Dec 5, 2008 at 4:54 AM, Rolf Huehne <[EMAIL PROTECTED]> wrote:
> 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 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:
>>>
>>> script ERROR: io error reading
>>> /home/rhuehne/java/Jmol/build/test_var=true;:
>>> java.io.FileNotFoundException:
>>> /home/rhuehne/java/Jmol/build/test_var=true; (No such file or directory)
>>> ----
>>>         script >> "test_var=true;" <<
>>> script ERROR: invalid argument
>>> ----
>>>         >> test_var <<
>>>
>>
> I have tried revision 10428 and the variable is set correctly now. But
> the PDB file provided also in the command-line is not loaded at all.
>
> Regards,
> Rolf
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to