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

Help: Rainmeter Skins • Re: XImput Controller Connection Manual Refresh

$
0
0
EDIT: Sorry, jsmorely beat me...
Can anyone suggest a way to fix this?
Issues:
  • You can't have two similar options into one single section. You've used two IfEqualValue and two IfEqualAction options into the [Connected] measure, which means the second occurrence of both options is ignored. This is why the [MeterString] meter is never shown. Instead of IfEqualAction you should have to use IfCondition:

    Code:

    [Connected]Measure=PluginPlugin=XInputChannel=ConnectedIfCondition=(#CURRENTSECTION#>=1)IfTrueAction=[!HideMeter MeterString]; Hide text when controller is connectedIffalseAction=[!ShowMeter MeterString]; Show text when controller is disconnected
  • Note one more error in the code: in Rainmeter, unlike in any real programming language (what Rainmeter isn't), you can't add the comments to the end of an option. Comments have always go to new lines. The semicolon can be used to indicate the beginning of a comment ONLY if it is the first character on a line. Note that there are options which are using semicolons (TransformationMatrix for instance), this is why Rainmeter recognizes it as a comment line delimiter only if it is the first character of the line. See details here.

Statistics: Posted by balala — Yesterday, 8:25 pm



Viewing all articles
Browse latest Browse all 691

Trending Articles