Read Ini File action: set default via variable

Please add the possibility to set the default value for a boolean value from a variable while reading from an ini file.

We use many scripts which share most of their settings. Therefore we would like to use two ini files: the first defines the global settings and is shared by all scripts. The second is specific to one script and override just the values which need to be tweaked. Unfortunatly this doesn't work for boolean variables as their default value can't be set with a variable.

Regards,

Karsten

Boolean_Default.jpg

Hi Karsten

You can do this by setting the Default Value property using the BeforeAction script event:

Action.DefaultValue = DefaultValueVariable


where DefaultValueVariable is a FinalBuilder variable containing a boolean value.

Regards,
Steve

Hi Stephen,

thanks for your reply, i will try this approach.

Regards,
Karsten