You have to load the COSMO file, not the MOL file, both for the structure
and the surface. Do you have both the COSMO and the MOL files in some
directory? Just ignore the MOL files, I guess. You could use
Var data = load("?.cosmo")
if (data.find("java.io.FileNotFoundException")) { return }
data = data.split(" DATA")
to load that file with a dialog.
Bob
On Fri, Mar 4, 2011 at 5:19 AM, Eduardo Oliveira <[email protected]>wrote:
> Hi Bob,
>
> Actually i didn't generate this .cos files, so i don't know if it was used
> the .mol file and , therefore, i don't know if they were supposed to match.
> But i think for my purpouse it would be easier to avoid creating a .jvxl
> file, since i can use the function loadCosmo and it works. I would like to
> know how to load those commands of the function without opening the console,
> i want, once the .mol is loaded, the surface to open along with it, if it is
> possible. I'm sending the Java class i created attached.
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> 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
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users