Shiny Language Reference

Language Reference > Handler Reference


FirstLaunch

 

 

Called the first time the plugin is loaded

When a plugin is loaded for the first time, Brass checks to see whether a registry profile exists. If it doesn't it is assumed that this plugin is being run for the first time and this handler will be called. You should use this handler to set any sensible defaults for your plugin for its first execution. The user will of course be able to modify these defaults if they want. This handler will only be called again if the plugin is uninstalled then reinstalled, or the user deletes the plugin profile from the Registry.

The handler call order is as follows:

PreRegRead -> FirstLaunch -> RegRead -> PostRegRead -> Init
PreRegRead -> PostRegReadFail

 

Parameters

None