2023-05-01, 21:54
If I use the infolabel Addon.SettingStr and Addon.SettingInt in the comparison boolean functions, everything is fine. The function returns the expected results corresponding to the values stored in the settings.
But if I use the Addon.SettingStr infolabel in $INFO[...] for example <label>$INFO[Addon.SettingStr(...)]<!label>, I still get an empty string.
So I have two questions:
But if I use the Addon.SettingStr infolabel in $INFO[...] for example <label>$INFO[Addon.SettingStr(...)]<!label>, I still get an empty string.
So I have two questions:
- Is there any restriction for these infolabels to be used in $INFO[...] or is this behavior a bug?
- So if there is a limitation and I cannot use these infolabels in $INFO[...], my question is why? It is a big disadvantage for otherwise very useful infolabels. The possibility of using it, for example, in a context menu addon would fundamentally increase the attractiveness and the possibility of creating a very simple and universal context menu, které by mohli uživatelé parametrovat pomocí nastavení v addon.