Dave,

/Applications/MacPyMOL.app/Contents/MacOS/MacPyMOL myscript.pml

Recent MacPyMOL builds come with a ./setup.sh inside the .app bundle
directory which can be used to generate a "pymol" script which works
just like the linux equivalent:

cd /Applications/MacPyMOL.app/

./setup.sh

cp ../pymol ~/bin/

cd ~

pymol myscript.pml


# the same thing can be done with PyMOLX11Hybrid.app:

cd /Applications/PyMOLX11Hybrid.app/

./setup.sh

cp ../pymol ~/bin/xpymol

cd ~

xpymol myscript.pml

Cheers,
Warren

> -----Original Message-----
> From: David Garboczi [mailto:dgarbo...@niaid.nih.gov]
> Sent: Thursday, March 26, 2009 6:31 AM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] startup options in MacPyMOL
> 
> How can I have a startup file read when I launch MacPyMOL?  For
> example, to set the background to white or load a particular pdb.
> 
> thanks,
> 
> Dave
> 
> 
> 
> --
> 
>
------------------------------------------------------------------------
--
> ----
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 
> 
> 



Reply via email to