Shiny Language Reference
Language Reference > Handler Reference
RegRead
Called during registry profile loading for additional settings
This handler is called once the registry profile for the plugin (stored in HKCU\Software\32Bits\Brass\Shiny<pluginfilename>) has been successfully opened and the standard settings have been read. The standard settings are all settings accessible from the general plugin config dialog (accessed by double-clicking the plugin in the main Brass window), for example: panel position, size, background, transparency, hotkey etc.
You may use this handler to modify the standard settings using the panel functions. Remember that unless you specifically wish to prevent the user from changing the plugin settings you shouldn't alter the standard settings, otherwise the user may get frustrated that the plugin keeps overriding their preferences.
This handler and the RegWrite handler are the only handlers where it is valid to use the registry profile functions, as these are the only times when a connection to the plugin's "personal" registry key is available.
The handler call order is as follows:
PreRegRead -> RegRead -> PostRegRead -> Init
PreRegRead -> PostRegReadFail
Parameters
None