Of course, the code is obsolete and since the skin was published in 2010, but what am I going to tell you? It's a skin that I really like and I wanted to update it, and if I fix it, I'll talk to the original developer to inform him of the improvements to his project.
Now, as you say, Balala, there are obsolete instructions like !Execute, I will have to better understand the Bangs and the Measures, because there is the understanding of Rainmeter.
The previous question about "LeftMouseDownAction" was so that when clicking on an image this action would lead to sliding a TAB of a POD to see, in this case, the Upload and Download graph of the network traffic.
As you can see there are 12 PODS and now I am working with the network POD, Here you have an Example of the first POD and how the developer does to open the TAB of a POD:
Code: Select all
[Tab]
Meter=Image
ImageName=#Graphic#Tab.png
ImageFlip=Horizontal
ImageTint=#Tab Color#
X=188
Y=0
LeftMouseDownAction=!Execute [!RainmeterSetVariable Hide01 1] [!RainmeterSetVariable Hide02 0]
Hidden=#Hide01#
DynamicVariables=1
[TabEnd]
Meter=Image
X=0
Y=0
W=25
H=100
LeftMouseDownAction=!Execute [!RainmeterSetVariable Hide01 0] [!RainmeterSetVariable Hide02 1]
Hidden=#Hide02#
DynamicVariables=1
[TabOpen]
Meter=Image
ImageName=#Graphic#Tab Open.png
ImageFlip=Horizontal
ImageTint=#Tab Color#
X=0
Y=0
Hidden=#Hide02#
DynamicVariables=1
I will put the code aside for a few days to better understand IfMatch, IfCondition and other actions, by the way, and as an anecdote I managed to make "LeftMouseDownAction" encapsulating the actions in a Variable, I'll show you:
Code: Select all
IfCondition=(mNetworkIsActive = 1) && (mAdapterType = 6)
IfTrueAction=[!SetOption ImageNetworkPod ImageName "#Graphic#Ethernet POD.png"] [!SetVariable OpenTabGroup "!Execute [!HideMeterGroup 6][!ShowMeterGroup 7][!ShowMeterGroup NetworkIP][!ShowMeterGroup NetworkGraph]"]
...