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

Help: Rainmeter Skins • Struggling to convert meter to number (EmailCheckerSimple)

$
0
0
EmailCheckerSimple plugin uses a meter to get all data (as far as I can see, I might wrong here).
I'm trying to take the new mail count from the meter, use that to set a variable, and then use that variable within a measure.

So far, I've gotten the variable set correctly, however the measure doesn't function.

Any help would be greatly appreicated

Code:

[Variables]FriendlyName=ProtonDomain=Proton.meClickLink=mail.proton.meNewMailColour=255,0,0,255NoNewMailColour=255,255,255,255NumberOfEmails=0emailDiv=180[msEmail]Measure=PluginPlugin=EmailCheckerSimpleUpdateDivider=180Delay=0PerAccountMaxMessages=1TotalMaxMessages=4Separators=0; Specify your accounts using numbered properties:; ------- ProtonName0=ProtonServerAddress0=ServerType0=IMAPPort0=1143IgnoreBadCert0=1Security0=noneUsername0=Password0=Active0=1[mEmail]Meter=StringText=[&msEmail:GetData("(count)")]OnUpdateAction=[!SetVariable NumberOfEmails [&msEmail:GetData("(count)")]]UpdateDivider=#emailDiv#DynamicVariables=1Hidden=1[MeasureCountEmails]Measure=CalcFormula=#NumberOfEmails#+0UpdateRate=1IfAboveValue=0IfAboveAction=[!SetOption Icon GreyScale "0"][!SetOption Domainname FontColor #NewMailColour#][!SetOption Icon ImageTint "255,255,255,255"][!UpdateMeter Icon][!UpdateMeter Domainname][!Redraw]IfEqualValue=0IfEqualAction=[!SetOption Icon GreyScale "1"][!SetOption Domainname FontColor #NoNewMailColour#][!SetOption Icon ImageTint "255,255,255,150"][!UpdateMeter Icon][!UpdateMeter Domainname][!Redraw]DynamicVariables=1[Domainname]Meter=STRINGFontColor=#NoNewMailColour#Text="#FriendlyName#"FontFace=Myriad ProFontSize=12StringStyle=BOLDStringEffect=ShadowFontEffectColor=0,0,0,100AntiAlias=1X=0Y=8[Icon]Meter=IMAGEImageName=#CURRENTSECTION#.pngX=0RY=0W=32H=32LeftMouseUpAction=[#ClickLink#]MiddleMouseUpAction=[!Refresh]ToolTipTitle=#Domain#ToolTipType=0ToolTipIcon=INFOToolTipText="You have [MeasureCountEmails] new messages!"DynamicVariables=1

Statistics: Posted by birkoffsjunk — Today, 7:06 pm



Viewing all articles
Browse latest Browse all 1044

Trending Articles