------------------------------
I've been setting measure values in my gauges from an external program using the WM_COPYDATA technique described under the 'developer' sections of the docs, and it has been working fine. I would basically do a !SetOption followed by an !UpdateMeasure, as follows:
Code: Select all
[!SetOption "Measure_BlockNumber" "String" "1561487" "MVis\Activity"]
[!UpdateMeasure "Measure_BlockNumber" "MVis\Activity"]
Code: Select all
[!SetOption "Meter_BlockNumberValue" "Text" "3345565" "MVis\Network"]
[!UpdateMeter "Meter_BlockNumberValue" "MVis\Network"]
[!Redraw "MVis\Network"]
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
Background=#@#Background.png
BackgroundMode=3
BackgroundMargins=0,34,10,14
; BLOCK NUMBER
; wondering if I can avoid using this measure and setting the values directly into the meter.
[Measure_BlockNumber]
Measure=String
String=0
UpdateDivider=-1
[Meter_BlockNumberValue]
Meter=String
;MeasureName=Measure_BlockNumber
Text=0