First what belongs to the HoverButton group? I don't see those sections. Are they placed into the betta betta.ini file, or in chrome chrome.ini? I suppose they should be in the betta betta.ini, beacuse if these files are both in the same config (Honeycomb + GGL), you can't load them simultaneously, so you can't set an option from one, to the other.
A second fact is that you're not using correctly the quotation marks. Eg the first two bangs used on the IfFalseAction option of the [MeasureHoverVar] measure, are these:
[!SetOptionGroup HoverButton MouseOverAction [color=#FF0000]"[/color][!ActivateConfig [color=#FF0000]"[/color]Honeycomb + GGL\chrome\Background" "background.ini"][!DeactivateConfig "FortCarroll\TitleCard" "TitleCard.ini"]"]. Problem is that an open quote is closed by the next one. In the first bang, I marked with red the first two quotes of the first !SetOptionGroup bang. This bang will set to the MouseOverAction option of the HoverButton group, just the
[!ActivateConfig part contained between the first two quotes, which definitely isn1t enough. In such cases you should use the
magic quotes. According to this trick, your [MeasureHoverVar] measure should look like:
Code: Select all
[MeasureHoverVar]
Measure=Calc
Formula=#HoverVar#
IfCondition=(#CURRENTSECTION#=1)
IfTrueAction=[!SetOptionGroup HoverButton MouseOverAction ""][!SetOptionGroup HoverButton MouseLeaveAction ""][!UpdateMeterGroup "HoverButton"][!Redraw]
IfFalseAction=[!SetOptionGroup HoverButton MouseOverAction """[!ActivateConfig "Honeycomb + GGL\chrome\Background" "background.ini"][!DeactivateConfig "FortCarroll\TitleCard" "TitleCard.ini"]"""][!SetOptionGroup HoverButton MouseLeaveAction """[!DeactivateConfig "Honeycomb + GGL\chrome\Background" "background.ini"][!ActivateConfig "FortCarroll\TitleCard" "TitleCard.ini"]"""][!UpdateMeterGroup "HoverButton"][!Redraw]
DynamicVariables=1
Note the tripled quotes (these are named "magic quotes") around the values which will be set by the !SetOptionGroup bangs of the IfFalseAction option. I also added some quotes around the HoverButton measurename, in the
[!UpdateMeterGroup "HoverButton"] bangs. These quotes are not absolutely required, the bangs will work well without them, but it seems a good practice to get used to use them. A third added thing is the
DynamicVariables=1 option. You're setting dynamically the value of the HoverVar variable and in such cases, the measure won't see the dynamically set values of the variable, without this option.
And one more. This issue won't cause great problems, but you have to know that the !DeactivateConfig bang doesn't require a "File" parameter, as !ActivateConfig or !ToggleConfig do. Eg
[!ActivateConfig "Honeycomb + GGL\chrome\Background" "background.ini"] is correct (supposing the config and file names are correct), but in the !DeactivateConfig bang, the last parameter (marked red) isn't required:
[!DeactivateConfig "Honeycomb + GGL\chrome\Background" [color=#FF0000]"background.ini"[/color]]. It isn't, because when you're deactivating a config, Rainmeter will deactivate the loaded file and it always knows which one is loaded. But when you want to activate one, Rainmeter cann't know which one would you like to load (if there are more).
All these being said, please test again the code and let me know if it is working better.