BE_SetPreference
BE_PreferenceSet ( key ; value {; domain} )
Sets the preference value with the key in the preferences file located at the domain.
Version : 1.3
4.0 : return error 3, command not available on Linux
4.0.2 : Renamed from BE_SetPreference
Parameters :
key : the key code for the value to set.
value : value to store.
domain ( optional ) : the domain value of where to locate the preference file.
If the domain is not included, it will be
Mac / iOS : au.com.goya.baseelements.plugin-user
Windows : Software\\Goya\\BaseElements\\PluginUser ( stored inside HKEY_CURRENT_USER ).
Linux : does not run, will return error 3 - Command is unavailable.
You can override the domain to specify a different file name on the mac, or a different path on Windows. To respect the various OS conventions you should use something similar to the above.
Result : 1 if storing the preference was successful, "?" if there was an error.