BE_SetPreference ( key ; value {; domain} )
Sets the preference value with the key in the preferences file located at the domain.
Version : 1.3
Version 4.0 : return error 3, command not available on Linux
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 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.
0 Comments