Could be a Mac thing. I drag/drop a file "test.spt" into http://chemapps.stolaf.edu/jmol/docs/examples-12/simple.htm and all is fine. (There is a file in that directory named test.pdb.)
cd $SCRIPT_PATH$ load test.pdb Then I use write test2.pdb and it offers to save the file in that directory. I'm sure the Java console would be helpful. It's either a memory issue (this specific PDB file) or a Mac issue (directories starting with "/"), I think. One of the issues with Mac/Linux is that the signed applet cannot tell from "/xxx/xxx/" if you mean a local file or a network file. I might get around that by making absolutely sure those paths have "file:/" or "http://" prepended for the applet. $SCRIPT_PATH$ is probably not doing that. --Is this the signed applet or the application? --Try using write with an explicit path including "file:/" --Try that at http://chemapps.stolaf.edu/jmol/docs/examples-12/simple.htm Aside: Does anyone know why "file:/" can have 1, 2, or 3 "/" and "http:/" can have one or two? On Mon, May 21, 2012 at 12:44 AM, Eric Martz <ema...@microbio.umass.edu>wrote: > Dear Bob, > > If I simply start Jmol 12.2.25 and then drag in a script containing > the following single command > > cd $SCRIPT_PATH$ > > afterwards the "write" command no longer works. > > On the other hand if I execute > > cd "/full_path" > > (to the same path) write still works, whether I paste the command > into the script console, or drag a file in and drop it -- write still > works. > > Eric > > At 5/20/12, you wrote: > >$ write x.pdb > >OK 2778 bytes C:/jmol-dev/bobtest/x.pdb > > > >Maybe it's something special with that particular PDB file? > > > >On Sun, May 20, 2012 at 8:47 PM, Eric Martz > ><<mailto:ema...@microbio.umass.edu>ema...@microbio.umass.edu> wrote: > >Dear Bob, > > > >I cannot write PDB files from 12.3.25, 12.2.25, or 12.0.31. > >I can write from 11.8.24 but there I cannot compare. > > > >$ write x.pdb > >script ERROR: > >---- > > >> write << "x.pdb" > > > >Thanks, -Eric > > > > > > >------------------------------------------------------------------------------ > >Live Security Virtual Conference > >Exclusive live event will cover all the ways today's security and > >threat landscape has changed and how IT managers can respond. Discussions > >will include endpoint security, mobile security and the latest in malware > >threats. > ><http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/> > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >_______________________________________________ > >Jmol-users mailing list > ><mailto:Jmol-users@lists.sourceforge.net>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> > 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 > > >------------------------------------------------------------------------------ > >Live Security Virtual Conference > >Exclusive live event will cover all the ways today's security and > >threat landscape has changed and how IT managers can respond. Discussions > >will include endpoint security, mobile security and the latest in malware > >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >_______________________________________________ > >Jmol-users mailing list > >Jmol-users@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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
test.spt
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users