It is currently March 28th, 2024, 11:54 am

Help

Get help with creating, editing & fixing problems with skins
miltonjjack
Posts: 9
Joined: June 4th, 2020, 8:12 pm

Help

Post by miltonjjack »

Hi, I'm new here and enjoying so far

I can't hide a MeterGroup when reloading

Code: Select all

[Variables]

feed=0


[Backgroundfeedbottom]
meter=image
x=(#SkinWidth#-160-15)
y=#SkinTopHeight#
W=175
H=(#SkinBottomHeight#/2)
solidcolor=60,60,60,100
group=feed_to_minimise



[MeterCheckfeed]
Measure=String
String=#feed#
RegExpSubstitute=1
Substitute="^(.)(.*)$":"1","^$":"0"
IfCondition=([MeterCheckfeed]=0)
IfTrueAction=[!HideMeterGroup "feed_to_minimise"]
DynamicVariables=1
Last edited by balala on June 5th, 2020, 7:31 am, edited 1 time in total.
Reason: Please use <code> tags whenever are you posting code snippets. It's the </> button.
mak_kawa
Posts: 908
Joined: December 30th, 2015, 9:47 am

Re: Help

Post by mak_kawa »

Hi miltonjack

As I didn't test actually, it is just a suggestion, not sure works or not.

Add Hidden=1 to the [Backgroundfeedbottom] meter and all meters belong to the feed_to_minimise group, and also add IfFalseAction=[!ShowMeterGroup "feed_to_minimise"] to the [MeterCheckfeed] measure.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help

Post by balala »

miltonjjack wrote: June 4th, 2020, 10:08 pm I can't hide a MeterGroup when reloading
It does work. What you should take care is that you get the [Backgroundfeedbottom] meter (belonging to the feed_to_minimise group) hidden only if the feed variable is empty. If you enter any value to it (doesn't matter if that value is 0 - as it is now - or 1 or any other), the
[Backgroundfeedbottom] meter is show, but if you leave the feed variable empty (putting feed= or feed="" into the [Variables] section), you get the meter hidden. This corresponds to the substitution used.
Is this what you wanted?
miltonjjack
Posts: 9
Joined: June 4th, 2020, 8:12 pm

Re: Help

Post by miltonjjack »

thank you guys. Both did the trick. It is working now but I can't manage to show and hide two diferent groups at the same mouse action.
Send you the complete code in case you have time to load it. It isn't mine but I've been tuning it for a while.

Thanks again

Code: Select all

[Rainmeter]
Description=An RSS parser skin displaying tech news: http://feeds.feedburner.com/techcrunch.
Author=Ragingwasabi

Update=1000

[Variables]
FontName=segoe ui
FontSize1=11
FontSize2=18
FontColor=255, 255, 255, 255

bulletpt="- "

;colours for headlines backgrounds
clickcolor=220,220,220,220
hovercolor=74,82,85,255
;transparent text background in normal state
normalcolor=0,0,0,1 

SkinTopHeight=60
SkinBottomHeight=330
SkinWidth=550

;this variable holds regular expression syntax for parsing 1 story section. the variable will be used repeatedly to parse several sections
storysect=<item>.*<title>(.*)</title>.*<link>(.*)</link>.*</item>.*
;						   1 title			   2 link					

eVIEWER=explorer.exe
;URL for clicking

feed=0

Format=H
Color4=105,155,115
Player=Winamp

;Background Color on hover
GlobalSkinBackgroundColor=White
GlobalSkinBackgroundColorTint=0,0,0
GlobalSkinBackgroundAlpha=80
GlobalSkinBackgroundAlphaInactive=1

;ColorPicker
CurrentColorToModify=SystemcolorText
ColorPickerChosenColor=255,255,255,200
header="pick a rss feed"

;////////////////////////////////////////
;  BACKGROUND
;////////////////////////////////////////

[Backgroundtop]
meter=image
x=0
y=0
W=#SkinWidth#
H=#SkinTopHeight#
;solidcolor=60,60,60,100
updatedivider=-1

[Backgroundbottom]
meter=image
x=0
y=#SkinTopHeight#
W=#SkinWidth#
H=#SkinBottomHeight#
solidcolor=60,60,60,100
Hidden=1
group=meters_to_minimise



[Backgroundfeedbottom]
meter=image
x=(#SkinWidth#-160-15)
y=#SkinTopHeight#
W=175
H=(#SkinBottomHeight#/2)
solidcolor=60,60,60,100
Hidden=1
group=feed_to_minimise

[miminimise_feed_button]
meter=image
solidcolor=0,0,0,1 
x=(#SkinWidth#-160-15)
y=20
W=40
H=25
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION#][!ToggleMeterGroup "feed_to_minimise"][!Updatemetergroup "feed_to_minimise"][!Redraw] 
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw][!HideMeterGroup "meters_to_minimise"]

[miminimise_feed_image]
meter=string
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
Text="rss"
x=9r
y=1r
updatedivider=-1

[feed1String]
Meter=STRING
MeasureName=RSS
X=(#SkinWidth#-160-15)
Y=74
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
W=175
H=(#FontSize1#*2)
solidcolor=#normalcolor#
Text="#bulletpt# google news"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!WriteKeyValue Variables URL "http://news.google.com/news?pz=1&ned=us&hl=en&topic=h&num=10&output=rss"][!WriteKeyValue Variables mainURL "http://news.google.com/news"][!WriteKeyValue Variables header "google news"][!refresh]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
Hidden=1
group=feed_to_minimise

[feed2String]
Meter=STRING
MeasureName=RSS
X=(#SkinWidth#-160-15)
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
W=175
H=(#FontSize1#*2)
solidcolor=#normalcolor#
Text="#bulletpt# El Universal"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!WriteKeyValue Variables URL "https://www.eluniversal.com.mx/seccion/1671/rss.xml"][!WriteKeyValue Variables mainURL "http://www.eluniversal.com.mx"][!WriteKeyValue Variables header "El Universal"][!refresh]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
Hidden=1
group=feed_to_minimise

[feed3String]
Meter=STRING
MeasureName=RSS
X=(#SkinWidth#-160-15)
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
W=175
H=(#FontSize1#*2)
solidcolor=#normalcolor#
Text="#bulletpt# google noticias"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!WriteKeyValue Variables URL "https://news.google.com/rss?hl=es-419&gl=MX&ceid=MX:es-419"][!WriteKeyValue Variables mainURL "http://news.google.com/news"][!WriteKeyValue Variables header "google noticias"][!refresh]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
Hidden=1
group=feed_to_minimise

[feed4String]
Meter=STRING
MeasureName=RSS
X=(#SkinWidth#-160-15)
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
W=175
H=(#FontSize1#*2)
solidcolor=#normalcolor#
Text="#bulletpt# yahoo! news"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!WriteKeyValue Variables URL "https://www.yahoo.com/news/rss"][!WriteKeyValue Variables mainURL "https://www.yahoo.com/news"][!WriteKeyValue Variables header "yahoo! news"][!refresh]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
Hidden=1
group=feed_to_minimise

[feed5String]
Meter=STRING
MeasureName=RSS
X=(#SkinWidth#-160-15)
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
W=175
H=(#FontSize1#*2)
solidcolor=#normalcolor#
Text="#bulletpt# yahoo! finance"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!WriteKeyValue Variables URL "https://finance.yahoo.com/rss/"][!WriteKeyValue Variables mainURL "https://finance.yahoo.com"][!WriteKeyValue Variables header "yahoo! finance"][!refresh]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
Hidden=1
group=feed_to_minimise

[MeterCheckfeed]
Measure=String
String=#feed#
RegExpSubstitute=1
Substitute="^(.)(.*)$":"1","^$":"0"
IfCondition=([MeterCheckfeed]=0)
IfTrueAction=[!HideMeterGroup "feed_to_minimise"]
IfTrueAction=[!HideMeterGroup "meters_to_minimise"]
DynamicVariables=1




[line]
meter=image
solidcolor=255,255,255,255
x=15
y=#SkinTopHeight#
W=(#SkinWidth#-30)
H=1
Hidden=1
group=meters_to_minimise

;cannot be updatedivider=-1 since it can be hidden

[miminimise_button]
meter=image
solidcolor=0,0,0,1 
x=(#SkinWidth#-120-15)
y=20
W=40
H=25
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION#][!ToggleMeterGroup "meters_to_minimise"][!Updatemetergroup "meters_to_minimise"][!HideMeterGroup "feed_to_minimise"][!Redraw] 
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]

[miminimise_image]
meter=image
solidcolor=255,255,255,255
x=13r
y=13r
W=13
H=1
updatedivider=-1

[openlink_button]
meter=image
solidcolor=0,0,0,1 
x=(#SkinWidth#-80-15)
y=20
W=40
H=25
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION#][!Redraw]["#eVIEWER#" "#mainURL#"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]

[openlink_image]
meter=image
ImageName=#@#openlink.png
x=11r
y=7r
updatedivider=-1
antialias=1

[refresh_button]
meter=image
solidcolor=0,0,0,1 
x=(#SkinWidth#-40-15)
y=20
W=40
H=25
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw][!refresh]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]

[refesh_image]
meter=image
ImageName=#@#refresh.png
x=13r
y=6r
W=13
updatedivider=-1

;////////////////////////////////////////
;  MEASURES
;////////////////////////////////////////

[RSS]
Measure=Plugin
Plugin=WebParser
Url=#URL#
;parse multiple sections the neat way 
RegExp=(?siU)#storysect##storysect##storysect##storysect##storysect##storysect##storysect##storysect##storysect##storysect#
												
UpdateRate=600

[RSS1]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=1
substitute="":"Just a moment..."

[RSS1link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=2

[RSS2]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=3
substitute="":"Just a moment..."

[RSS2link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=4

[RSS3]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=5
substitute="":"Just a moment..."

[RSS3link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=6

[RSS4]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=7
substitute="":"Just a moment..."

[RSS4link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=8

[RSS5]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=9
substitute="":"Just a moment..."

[RSS5link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=10

[RSS6]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=11
substitute="":"Just a moment..."


[RSS6link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=12

[RSS7]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=13
substitute="":"Just a moment..."


[RSS7link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=14

[RSS8]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=15
substitute="":"Just a moment..."


[RSS8link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=16

[RSS9]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=17
substitute="":"Just a moment..."


[RSS9link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=18

[RSS10]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=19
substitute="":"Just a moment..."


[RSS10link]
Measure=Plugin
Plugin=WebParser
Url=[RSS]
StringIndex=20

;////////////////////////////////////////
;  STRINGS
;////////////////////////////////////////

[RSSHeader]
Meter=STRING
X=12
Y=15
FontColor=#Color4#
FontSize=#FontSize2#
FontFace=#FontName#
AntiAlias=1
Text=#header#
UpdateDivider=-1

[RSS1String]
Meter=STRING
MeasureName=RSS1
X=15
Y=74
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
;fontsize is not fontheight. its smaller, so just x 2 to make it bigger. simply to reduce number of changes needed to modify this skin. i.e. u can change fontsize without changing this value. the formula does it for u
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS1link]"]
Hidden=1
group=meters_to_minimise

[RSS2String]
Meter=STRING
MeasureName=RSS2
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS2link]"]
Hidden=1
group=meters_to_minimise

[RSS3String]
Meter=STRING
MeasureName=RSS3
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS3link]"]
Hidden=1
group=meters_to_minimise

[RSS4String]
Meter=STRING
MeasureName=RSS4
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS4link]"]
Hidden=1
group=meters_to_minimise

[RSS5String]
Meter=STRING
MeasureName=RSS5
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS5link]"]
Hidden=1
group=meters_to_minimise

[RSS6String]
Meter=STRING
MeasureName=RSS6
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS6link]"]
Hidden=1
group=meters_to_minimise

[RSS7String]
Meter=STRING
MeasureName=RSS7
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS7link]"]
Hidden=1
group=meters_to_minimise

[RSS8String]
Meter=STRING
MeasureName=RSS8
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS8link]"]
Hidden=1
group=meters_to_minimise

[RSS9String]
Meter=STRING
MeasureName=RSS9
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS9link]"]
Hidden=1
group=meters_to_minimise

[RSS10String]
Meter=STRING
MeasureName=RSS10
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS10link]"]
Hidden=1
group=meters_to_minimise
Last edited by jsmorley on June 5th, 2020, 7:08 pm, edited 1 time in total.
Reason: Please use <code> tags. They are the </> button.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help

Post by balala »

miltonjjack wrote: June 5th, 2020, 7:07 pm It is working now but I can't manage to show and hide two diferent groups at the same mouse action.
Send you the complete code in case you have time to load it. It isn't mine but I've been tuning it for a while.
There is the same issue as described here: you have duplicated the IfTrueAction option into the [MeterCheckfeed]. You cant do this, only one single occurrence of an option is allowed onto one single section. But there is not even needed to duplicate it. You can add both !HideMeterGroup bangs to one single option:

Code: Select all

[MeterCheckfeed]
..
IfCondition=([MeterCheckfeed]=0)
IfTrueAction=[!HideMeterGroup "feed_to_minimise"][!HideMeterGroup "meters_to_minimise"]
...
miltonjjack
Posts: 9
Joined: June 4th, 2020, 8:12 pm

Re: Help

Post by miltonjjack »

[!HideMeterGroup "feed_to_minimise"][!HideMeterGroup "meters_to_minimise"]

Those are two diffent groups, "feed_to_minimise" and "meters_to_minimise" It is working but i have to manualy show news box after selecting a rss feed
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help

Post by balala »

miltonjjack wrote: June 6th, 2020, 3:32 pm i have to manualy show news box after selecting a rss feed
How do you show it? And how do you select a feed?
I don't realize...
miltonjjack
Posts: 9
Joined: June 4th, 2020, 8:12 pm

Re: Help

Post by miltonjjack »

In menu box you pick a rss feed clicking "rss" and then you have to manualy display news clicking "_"
I would like it to show news automaticly when ever I pick a rss feed
Attachments
Rainmeter_NdNQUZk0Sw.png
Rainmeter_bL73O4U4af.png
explorer_X0QacOHeGt.png
Last edited by miltonjjack on June 6th, 2020, 7:50 pm, edited 1 time in total.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help

Post by balala »

miltonjjack wrote: June 6th, 2020, 7:24 pm In menu box you pick a rss feed clicking "rss" and then you have to manualy display news clicking "_"
I would like it to show news automaticly when ever I pick a rss feed
Alright, now I see what you want to achieve.
First attempt: try to replace the [!refresh] bang from the end of all LeftMouseUpAction options of the [feed1String] - [feed5String] meters, with the following ones: [!ToggleMeterGroup "meters_to_minimise"][!UpdateMeterGroup "meters_to_minimise"][!HideMeterGroup "feed_to_minimise"][!Redraw].
Did this do what you wanted?
miltonjjack
Posts: 9
Joined: June 4th, 2020, 8:12 pm

Re: Help

Post by miltonjjack »

First attempt didn't work :(
Post Reply