Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1565

Help: Rainmeter Skins • Re: Custom Context Menu

$
0
0
Edit: I accidently read "What I want in the end is to be able to switch between variants in just to clicks and not having to go to multiple menus." In short, opposite of what you asked. I just got that after @Yincognito posted the solution.
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=34438

Reference: https://forum.rainmeter.net/viewtopic.php?p=100888 : Action on skin load.

Statistics: Posted by Aryx — Today, 12:26 pm



Viewing all articles
Browse latest Browse all 1565

Trending Articles