Edit

GetMWEnv(env)

Result Type: text

Definition: Get information about MoneyWorks — the available functions, globals etc in the scripting enviroment, running instances, recent urls, loaded scripts, or report descriptions. This is primarily used by external AIs.

Possible values for env: "instances", "functions", "functions-mwscript", "globals", "constants", "recents", "loaded-scripts", "reports-xml"

Example:  GetMWEnv("instances") gets the PIDs of running MoneyWorks Gold instances