Execute a script file or just couple lines of Powershell right in Rainmeter, natively. Results of invocation will be measure value and be updated along with skin update.
In this script file, you need to define function Update with no parameter.
Update function is called every time skin updating and whatever it returning will be this measure value.