At 16:44 22/02/2007, Brian H. Toby wrote:
>Alan, perhaps you might be able to figure out how to configure firefox to 
>launch pdCIFplot when it encounters a .CIF file on various platforms? 

Thanks Brian. I imagined that would be how it worked, since even if it could be 
done, embedding (the same) application in every CIF file would be overkill. 
Launching a helper application when Firefox (or even MSIE) encounters a file of 
a particular type is easy. Firefox will ask you what you want to do with the 
file - save it to disk, or open it with an application, and ask if you want to 
do that always. Actually it will use whatever is set as the default under 
Windows, so a trick is to just save a file to your desktop, double-click it, 
and select a default application if one is not already defined (right click if 
you want to change the default). Linux/OSX users, being more intelligent, will 
know how to do this with mime-types. Also look under 
Firefox/Tools/Options/Content/Manage.

The only problem is that I already have enCIFer as my default CIF application 
:-) Tcl/Tk is good (and portable) but I would still like to see a Java version 
that could be embedded into WWW pages like Jmol, which is really impressive. 

BTW, thanks to Alex Renshaw I have been playing with Crystallographica's CSM 
search-match application, http://www.crystallographica.co.uk/searchmatch/ which 
generates a powder pattern "instantly" when you click on any structure in a 
long Powder Diffraction File list, and compares it with any other - very nice. 
(I am learning about search-match, something we don't do much with neutrons, 
but still have to figure out how to generate ASCII PDF-2 files that don't fail 
half the time for reasons that escape me). 

Alan. 
_____________________________________________________________
Dr Alan Hewat, ILL Grenoble, FRANCE<[EMAIL PROTECTED]>fax+33.476.20.76.48
+33.476.20.72.13 (.26 Mme Guillermet)  http://www.ill.fr/dif/people/hewat/
_____________________________________________________________

Reply via email to