Edit

SetAppPreference (preferenceName, value)

Result Type: none

Definition: Sets 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). Note: This function cannot set the safe scripting paths preference; the user needs to do that.

Example:  SetAppPreference("useSmtp", true)

Availability:  MWScript in v9.2.1 and later