I'm starting to wish I hadn't mentioned this.... :)

This capability was introduced in 11.1.22, just in the last couple of 
months. It will not work from the applet unless (a) the applet is signed 
and (b) the command is given as part of the starting script in the 
jmolApplet() JavaScript call. Really, I had in mind only its use with 
the Jmol application, where it works great anytime. It is loading files 
using a format:

set loadFormat "http://www.rcsb.org/pdb/files/%FILE.pdb";

So in

load "=XXXX"

XXXX replaces %FILE. You can adapt this to anything you want. I just set 
the default to be the simplest way to get a PDB file that I know of. But 
it would be a handy way to set a default directory as well:


set loadFormat "http://myserver.net/myfiles/%FILE

load "mydata.mol"

As long as it is somewhere on the host machine, then there isn't the 
security issue.

Bob


saravanan wrote:

> I am a beginner and i am using jmol 11.0.1
> When i try to load the pdb file from console like
> _load "=1crn"_
> _
> _load =1crn_
> _
>  
> i got the same error for both of them,
> _/script ERROR: ScriptException:java.io.FileNotFoundException: =1crn 
> (The system cannot find the file specified)
>     Script line:load "=1crn"/_
> // 
> these are my questions:
>       I have to use jmol 11.1.39 ?
>       Is it possible to open pdb file without displaying inputbox, 
> command button and from hyperlink in this page... i will pass the 
> pdbcode from another page to this page and is it possible to get by 
> _/request("name") ?/_
>  
> Please help me out..
> Looking forward for reply...
>
> ------------------------------------------------------------------------
> Don't be flakey. Get Yahoo! Mail for Mobile 
> <http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail> and
> always stay connected 
> <http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail> to 
> friends.
>
>------------------------------------------------------------------------
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to