Just to be clear, you want a sub-context menu?
As far as I know, it's not possible. But, I can think of a workaround -
Parent Skin:
Normal Right-Click-Action in Parent-Skin with Option (Copy the snippet) "
Variants>" that will load Child-Skin.
Child Skin:
1. Child-Skin with Context-Menu Options "Item 1", "Item 2" and "Item 3".
2. Now, write this to activate the Faux-Variants-Sub-Context-Menu:
Code:
[MeasureOnLoad]Measure=CalcFormula=CounterIfEqualValue=1IfEqualAction=[!SkinCustomMenu]IfAboveValue=1IfAboveAction=[!DeactivateConfig]UpdateDivider=-1
This is merely an assumption - untested.
If you want the real deal, check this out (It is a skin, but can be modified easily):
https://forum.rainmeter.net/viewtopic.php?t=34438Reference:
https://forum.rainmeter.net/viewtopic.php?p=100888 : Action on skin load.