> >
> > I have no experience on this exact situation, but I would try to use
> > double quotes around the path and filename. Something like
> >
> >  viewer.script('pmesh me "' + str + '"');
> >
> > (and make sure to insert a space after "me")
> >
>
> Oh! great it works.
>

OOPs the code
       viewer.script("pmesh me \""+file.getAbsolutePath() + "\"");
works fine on linux but it is giving the error on windows.
 file not found.

suppose the file location is D:\myWork\files\MESHDATA.txt
then the error message => file not found:  D:myWorkfilesMESHDATA.txt

please help!




********************************
sushil ronghe
*********************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to