Class ScriptPrefs

Version added: before 9.5
The ScriptPrefs class allows user scripts to store and retrieve settings. These stored settings are re-loaded each time Anime Studio is run. Stored values are stored under a key name (a text string). Typically, so that different scripts don't interfere with one another, a script should use its own name as part of the key. For example, if the "MyFirstScript" script wanted to save the "pointCount" setting, it would save it using the key "MyFirstScript.pointCount".


Name Returns Description Version added
GetBool bool Retrieve a boolean value that was previously stored before 9.5
GetFloat real before 9.5
GetInt int32 before 9.5
GetString char before 9.5
SetBool void Store a boolean value before 9.5
SetFloat void before 9.5
SetInt void before 9.5
SetString void before 9.5