It is currently May 2nd, 2024, 5:41 am

How to update one part of the skin, not whole skin

Get help with creating, editing & fixing problems with skins
TheAslan
Posts: 87
Joined: June 4th, 2009, 10:41 pm

How to update one part of the skin, not whole skin

Post by TheAslan »

Hiya!

I just wondered that is it possible to update only 1 thing in rainmeter skin, not whole skin?

Maybe using somekind of bang! command... [!RainmeterUpdateMeterGroup 1] i don't get it work with this code but is there any codes which works? I use Groups in my rainmeter skin and that's why i asked that is it possible to update only 1 group?

Thanx 4 the help guys!
User avatar
GHOST®
Posts: 55
Joined: March 11th, 2011, 6:33 pm
Location: Garden City, MI

Re: How to update one part of the skin, not whole skin

Post by GHOST® »

TheAslan wrote:Hiya!

I just wondered that is it possible to update only 1 thing in rainmeter skin, not whole skin?

Maybe using somekind of bang! command... [!RainmeterUpdateMeterGroup 1] i don't get it work with this code but is there any codes which works? I use Groups in my rainmeter skin and that's why i asked that is it possible to update only 1 group?

Thanx 4 the help guys!
FROM THE MANUAL
http://rainmeter.net/cms/ManualBeta

!RainmeterUpdateMeter [Meter] (Config) / !RainmeterUpdateMeterGroup [GroupName] (Config)
Immediately updates an individual meter or group of meters. This does override UpdateDivider if set.
http://rainmeter.net/cms/Bangs

Meter/Measure Groups

Measures and meters can be categorized into groups. To add a measure or meter to a group, simply add the Group= statement to the section. Any number of groups may be added to a section, all of which must be separated by a vertical bar (i.e. "|"). These groups can then be controlled through the following bangs:

!RainmeterShowMeterGroup [Group] (Config)
Show all meters in the group.
!RainmeterHideMeterGroup [Group] (Config)
Hide all meters in the group.
!RainmeterToggleMeterGroup [Group] (Config)
Toggle all meters in the group.
!RainmeterEnableMeasureGroup [Group] (Config)
Enable all measures in the group.
!RainmeterDisableMeasureGroup [Group] (Config)
Disable all measures in the group.
!RainmeterToggleMeasureGroup [Group] (Config)
Toggle all measures in the group.
Example:

In this example, both of the meters belong to the "CPU" group. Then, MeterCPUText also belongs to the "Strings" group and MeterCPUBar in turn belongs to the "Bars" group.

[MeterCPUText]
Meter=String
MeasureName=MeasureCPU
Group=CPU | Strings

[MeterCPUBar]
Meter=Bar
MeasureName=MeasureCPU
Group=CPU | Bars

To hide the "Bars" group, execute the following Bang:
!RainmeterHideMeterGroup Bars


http://rainmeter.net/cms/Skins-MeterMeasureGroups
"Do you want to be healed, now? Or would you prefer to bleed to death so I can try my hand at resurrection?"
TheAslan
Posts: 87
Joined: June 4th, 2009, 10:41 pm

Re: How to update one part of the skin, not whole skin

Post by TheAslan »

Here's what i tried:

[MenuImage7]
Meter=IMAGE
ImageName=#MenuTop#
X=1230
Y=45
Hidden=1
Group=7
LeftMouseUpAction=!execute [!RainmeterUpdateMeterGroup 7][!RainmeterRedraw]


So i tried to get this update only Group 7, but i think this didn't work, is there something wrong?