After some tries, I found that that the .reg file should be changed a
little.
Then .pdb files gets icon and gets opened by pymol.cmd
C:\Python2X\PyMOL\PDB_file.reg
REGEDIT4
[-HKEY_CLASSES_ROOT\.pdb]
[HKEY_CLASSES_ROOT\.pdb]
@="PDB.File"
"Content Type"="chemical/x-pdb"
[-HKEY_CLASSES_ROOT\PDB.File]
[HKEY_CLASSES_ROOT\PDB.File]
@="PDB File"
[HKEY_CLASSES_ROOT\PDB.File\DefaultIcon]
@="C:\\Python27\\PyMOL\\PyMOL.exe"
[HKEY_CLASSES_ROOT\PDB.File\Shell]
@=""
[HKEY_CLASSES_ROOT\PDB.File\Shell\open]
[HKEY_CLASSES_ROOT\PDB.File\Shell\open\command]
@="\"C:\\Python27\\PyMOL\\PyMOL.cmd\" %*"
[-HKEY_CLASSES_ROOT\pdb_auto_file]
[HKEY_CLASSES_ROOT\pdb_auto_file]
@="PDB File"
[HKEY_CLASSES_ROOT\pdb_auto_file\DefaultIcon]
@="C:\\Python27\\PyMOL\\PyMOL.exe"
[HKEY_CLASSES_ROOT\pdb_auto_file\Shell]
@=""
[HKEY_CLASSES_ROOT\pdb_auto_file\Shell\open]
[HKEY_CLASSES_ROOT\pdb_auto_file\Shell\open\command]
@="\"C:\\Python27\\PyMOL\\PyMOL.cmd\" %*"
2011/8/24 Troels Emtekær Linnet <tlin...@gmail.com>
> Hi.
>
> I was very happy to find a post how to easy install pymol 1.4 from source
> on windows.
>
> 1) Install python, 2.5, or 2.6 or 2.7 for windows.
> 2) Download appropriate installer from:
> http://www.lfd.uci.edu/~gohlke/pythonlibs/#pymol Select according to
> your python version.
> 3) Run it
> 4) PyMOL is now installed in: C:\Python2X\PyMOL
>
> A) C:\Python2X\PyMOL\PDB_file.reg should be edited in a text editor, to
> match your python version. Run it.
> B) Pymol is started by clicking C:\Python27\PyMOL\pymol.cmd which
> executes python on C:\Python27\PyMOL\pymol-launch.py
>
> Happy pymoling.
>
> Best
> Troels
>
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net