PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > SetTempPreference
SetTempPreference

Description:

Set a Preference setting for the current PhotoModeler session only.

Syntax:

"SetTempPreference SettingStr SectionStr Value"

where:

SettingStr is the name of the setting in the PhotoModeler.ini configuration file, SectionStr is the name of the section, and the Value can be any length and can have spaces (digits or string where applicable.

Return:

"1" if successful or "0" if not.

Example:

"SetTempPreference DefaultTargetColor Automark 2"

return: "1"