Hi
Please can someone help. I am using the MEASURE=REGISTRY command to read EVEREST temperature values from the registry hive. This is working fine but if Rainmeter runs before Everest has fully loaded the values show "0" until I refresh rainmeter. I thought that UPDATE=1000 would automatically reload the values from the registry but it doesnt seem to do this.
Is there another command I need to run that refreshes the skin say every 5 seconds?
Thanks...
Here is an example of my ini file....
---------Measures---------------
[Detect_HDTEMP1]
Measure=Registry
RegHKey=HKEY_CURRENT_USER
RegKey=Software\Lavalys\EVEREST\SensorValues
RegValue=Value.THDD1
[Icon Hard-Drive]
Meter=Image
ImageName=Hard-Drive.ico
X=0
Y=0
W=28
H=28
AntiAlias=1
[MeterHDTEMP1]
MeasureName=Detect_HDTEMP1
Meter=STRING
X=60
Y=0
StringEffect=Shadow
FontColor=#FontColor#
StringStyle=Bold
FontSize=8
StringAlign=Center
FontFace=#FontName#
Text="%1°"
AntiAlias=1
AutoScale=1
It is currently April 26th, 2024, 10:10 pm
Rainmeter update measure=registry problem
-
- Posts: 6
- Joined: April 24th, 2010, 8:53 pm
-
- Developer
- Posts: 1270
- Joined: April 3rd, 2009, 4:31 am
- Location: NC, US
Re: Rainmeter update measure=registry problem
For some reason I think changed registry values aren't updated. If they are numeric try feeding them through a CALC and use the CALC measure for your meters.
-
- Posts: 6
- Joined: April 24th, 2010, 8:53 pm
Re: Rainmeter update measure=registry problem
Hmm, if this is the case then there is little point in me using the registry to obtain values if they dont update.
-
- Developer
- Posts: 1270
- Joined: April 3rd, 2009, 4:31 am
- Location: NC, US
Re: Rainmeter update measure=registry problem
Yeah, we need to get a dev to look at the Registry measure.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Rainmeter update measure=registry problem
I just created a skin that reads a registry value, then used Regedit to change the value and it updates instantly.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Rainmeter update measure=registry problem
Just to test further, I created an AutoIt app that reads the registry item, displays it, then changes it and displays it again. Both the AutoIt app and the Rainmeter skin updated instantly.
In my opinion, there is no problem with the Registry measure. Might be something with the way Everest works.
In my opinion, there is no problem with the Registry measure. Might be something with the way Everest works.
-
- Developer
- Posts: 1270
- Joined: April 3rd, 2009, 4:31 am
- Location: NC, US
Re: Rainmeter update measure=registry problem
Really? I'll have to test further sometime.
-
- Posts: 6
- Joined: April 24th, 2010, 8:53 pm
Re: Rainmeter update measure=registry problem
Yep, correct, it is updating, just tested it again with my code in my first post. BUT, why does rainmeter not update/refresh if loaded before Everest?jsmorley wrote:Just to test further, I created an AutoIt app that reads the registry item, displays it, then changes it and displays it again. Both the AutoIt app and the Rainmeter skin updated instantly.
In my opinion, there is no problem with the Registry measure. Might be something with the way Everest works.
The values display as 0 even though the registry values are changing, weird.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Rainmeter update measure=registry problem
Might be because that registry key doesn't exist at all when Everest isn't loaded. I could indeed see that causing an issue. If you load the skin with no Everest, it displays 0. If you then load Everest and manually "refresh" the skin, does it get the correct value?mikeyo wrote: Yep, correct, it is updating, just tested it again with my code in my first post. BUT, why does rainmeter not update/refresh if loaded before Everest?
The values display as 0 even though the registry values are changing, weird.
-
- Posts: 6
- Joined: April 24th, 2010, 8:53 pm
Re: Rainmeter update measure=registry problem
Ah, indeed, never spotted that, thanks.
I suppose I just need to use a startup delay type app to ensure rainmeter starts after everest....
I suppose I just need to use a startup delay type app to ensure rainmeter starts after everest....