Edit

GetAppPreference (preferenceName)

Result Type: text

Definition: Gets application preference values (such as smtp settings) by name. These are the preferences that live in the registry (on Windows) or the nz.co.cognito.MoneyWorks.Gold.plist (Mac).

Example:  GetAppPreference("useSmtp")

Returns 1 (true) if the MoneyWorks Preference "Send emails directly via a mail server" is on (i.e. using your own smtp, instead of the local mail client). Otherwise returns 0.