Quantcast
Viewing all articles
Browse latest Browse all 1196

Help: Rainmeter Skins • Re: Complex hide meters situation

This problem is an age-old one that I had not long after starting to use rainmeter. You can't use two separate ways to hide/show a meter. It has to be done in one place, ie, the Conditional Formula. Which is why I chose to use the Hidden=([mMinimised:1]||[m#CURRENTSECTION#:1]?1:0) function to calculate the state of either value. But the second value doesn't seem to work.
Not knowing relevant parts of your code it's hard to say what is working wrong. But note the followings: in the above Hidden option (Hidden=([mMinimised:1]||[m#CURRENTSECTION#:1]?1:0)) there are used two measures:
  • [mMinimised]
  • [m#CURRENTSECTION#]
Related to these measures:
  • [mMinimised] is not posted, so have no idea about it.
  • [m#CURRENTSECTION#] in this case is equal to [m1Name], since the above Hidden option is used on the [sName] section. The only meter of the posted piece of code which is set to use the [sName] section is [1Name], so [m#CURRENTSECTION#] on this meter means the [m1Name] measure. This is a FileView plugin measure, accordingly its numeric value is alyways 0. So, [m#CURRENTSECTION#:1] means in this case always 0 (not sure what you did mean by the :1 parameter however), which means always false.
I definitely might be wrong, however I still have the impression there is a huge logic inadvertence in the code. Sorry, don't want to be rude, but at least parts of the posted code makes not too much sense to me right now. Hope you don't mind I wrote all this, but this i my impression at the moment.

Statistics: Posted by balala — Today, 4:29 pm



Viewing all articles
Browse latest Browse all 1196

Trending Articles