On Monday 21 January 2008 23:51:15 Toni Pizà wrote:
> > I'm not sure this is what you're asking, but I use scripts by typing:
> >
> > @script.pml
>
> Thanks for your response, but I'm asking how to pass arguments to
> pymol's scripts written in Python. I type "run nameOfScript.py" within
> pymol for this, but I would pass some arguments, such as "run
> script.py arg0 arg1".

The convential solution is to "run" a script that uses the "extend" command
(see "help extend") to add a Python function as a new PyMOL command. This
command can take any arguments you define for the function.

Cheers,

-- 
Lieven Buts
Ultrastructure Laboratory
Vrije Universiteit Brussel

Reply via email to