1. How do I invoke a python script from the commandline?

Moneydance allows users to access its features, such as those in
extensions, through URIs (Uniform Resource Identifiers).
The -invoke_and_quit parameter will invoke the URI that follows it
before ending Moneydance. The Python extension allows the user to
run a script from a file by using the following -invoke_and_quit
parameter:

-invoke_and_quit moneydance:fmodule:jpython:runfile?=<name of your script>
(You may need to use a \ before the ? so your system will not try to interpret the ?)