running protocols from scripts

Hi

Is there any resource (examples) for running
the 'calculate moleculare property' protocol
from a script? I have problems defining the
correct datatypes ( like the ligand or the
required property ).
This is a general problem I get when trying
to run DS from a script.

Help!

Thanks