command line arguments in RasMol scripts

Iddo Friedberg (schirra@mango.biochem.mpg.de)
Tue, 11 Jun 1996 20:51:41 -0600

Hi everybody,
I have a question about RasMol scripts:
Imagine you have a nice little RasMol script that selects a certain part of
your protein and then does a few (actually more than few ;-) actions on that
part.
Is it possible to pass arguments from the RasMol command line to this RasMol
script? So that you can type e.g.:
script myscript Tyr112
and it selects Tyr112 and does with it what it is supposed to do.
I know that I can edit this selection in the script everytime it changes, or
that I can do the selection manually and invoke the script afterwards. But this
would be a little bit more work and I'm a lazy guy ;-)....

Thanks in advance for your help - I hope you can save my afternoon nap ;-)

-- 
      ----------------------------------------------------------------
     / Horst Joachim Schirra    Phone: (+49)89/8578-2826             /
    / NMR-Arbeitsgruppe        Fax:   (+49)89/8578-3777             / 
   / Am Klopferspitz 18a                                           / 
  / D-82152 Martinsried                                           / 
 / Germany                  email: schirra@mango.biochem.mpg.de  / 
 ----------------------------------------------------------------