Thanks Robert,
Well I tried your suggestions and had no luck.  I was running the 11.6.27 build not the RC.  I just found that if I added the -s option to the command line before my script filename it works as expected.  Thanks anyways.

----------------------------
Sam Bryfczynski
Computer Science
Clemson University


On Fri, Jul 17, 2009 at 6:52 PM, Robert Hanson <hansonr@stolaf.edu> wrote:
Jmol 11.8.RC3 reports:

C:\temp>java -jar jmol.jar -x t.spt
splash_image=jar:...
history file is C:\hansonr\.jmol\history
(C) 2009 Jmol Development
Jmol Version 11.7.46  2009-06-25 18:30
java.vendor:Sun Microsystems Inc.
java.version:1.6.0_12
os.name:Windows XP
memory:5.5/7.0
useCommandThread: false
User macros dir: C:\hansonr\.jmol\macros
       exists: false
  isDirectory: false
Executing script: ;exitJmol // Jmol -x

C:\temp>

Or

C:\temp>java -jar jmol.jar -dx t.spt
splash_image=jar:file...
history file is ...
Viewer constructor org.jmol.viewer.Viewer@601bb1
(C) 2009 Jmol Development
Jmol Version 11.7.46  2009-06-25 18:30
java.vendor:Sun Microsystems Inc.
java.version:1.6.0_12
os.name:Windows XP
memory:5.8/6.8
useCommandThread: false
Memory: Total-Free=3908280; Total=7499776; Free=3591496; Max=66650112
User macros dir: ...
       exists: false
  isDirectory: false
1 scripts; added: script "t.spt"
Executing script: ;exitJmol // Jmol -x
2 scripts; added: ;exitJmol // Jmol -x
Queue[0][1] scripts; running: script "t.spt"
FileManager opening t.spt

C:\jmol-dev\workspace\Jmol\bobtest>


In both cases, the script exited properly.

Bob


On Fri, Jul 17, 2009 at 5:40 PM, Robert Hanson <hansonr@stolaf.edu> wrote:
Definitely a bug. What version of Jmol are you using? also try that with the -d option included (for "debug")


On Fri, Jul 17, 2009 at 1:35 PM, Sam Bryfczynski <sbryfcz@gmail.com> wrote:
I'm trying to use jMol's ability to generate isosurface data and compress it into their special file format.  I need to do this through the command line.  The documentation says I can use the -x or -n command line options to exit jMol once a script has completed.  However, this does not seem to be the case.  All the other options seem to be ok but when I try to execute my script with "java -jar jmol.jar -x myscript.spt" the script executes as it should but the window remains open.  I have tried this on Vista and XP machines and tried many combinations of options but no luck.  Please help.
Thanks,

----------------------------
Sam Bryfczynski
Computer Science
Clemson University

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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



--
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

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users