If I understand your desired layout, you have a Top1 meter that toggles the ExtHUD group of meters, and an Atomic group that is toggle by a Lower6 meter, but is also controlled by Top1 (if Atomic is hidden, stays hidden, if showing toggles with ExtHUD group via Top1 action).
From this, you would need to have the HUD meters in the ExtHUD group, and the Lower6 meters in the Atomic group (don't have them in both groups).
HUD meters are only in the ExtHUD group.
Lower6 controlled meters are only in the Atomic group.
{Layout}
Top1
|
HUD (ExtHUD Group)
|
Lithium (Atomic Group)
InfoPath (Atomic Group)
Since all of the meters you posted are 40x40 pixels, you can use that to determine the current meter states (Hidden/Showing) to determine actions based on the sizes of a HUD meter and the Lithium meter.
Code: Select all
[MeasureTop1Action]
Measure=Calc
Formula=[HUD:W]+[HUD:H]+[Lithium:W]+[Lithium:H]
; Both hidden or only HUD showing, only toggle ExtHUD group
IfCondition=#CurrentSection#<=80
IfTrueAction=[!ToggleMeterGroup ExtHUD]
; Both showing, toggle both groups
IfCondition2=#CurrentSection#>80
IfTrueAction2=[!ToggleMeterGroup Atomic][!ToggleMeterGroup ExtHUD]
DynamicVariables=1
UpdateDivider=-1
[Top1]
Meter=Image
...
LeftMouseUpAction=[!UpdateMeasure MeasureTop1Action]
You may need to play with this since I do not have all of your code. But this should help get you closer...
EDIT: Expanded comment on first IfCondition test for clarity...