September 16th, 2006, 09:09 AM
What plugin generates the Power.BatteryLifePercent variable? I can't seem to register for callbacks on it anymore and thought maybe I had to link it to a plugin using RegisterVariableWatch( "Power.BatteryLifePercent", NetRemote.GetPlugin( "???" ) )
September 18th, 2006, 07:26 PM
This is part of the NetRemote "core", but only on PPC, not Windows.
Does it have a value when you display it?
September 18th, 2006, 09:01 PM
If I create a button that just shows the value, it shows up fine. But I don't seem to get the callbacks anymore that it has changed. So I can update the image.
September 18th, 2006, 09:55 PM
If the value changes in the displayed value, then it should call your watcher. Can you show the full code you're using here to register for the callback?
September 19th, 2006, 04:44 AM
By the way you should be using NetRemote.RegisterVariableWatch, not just RegisterVariableWatch
September 30th, 2006, 07:25 AM
Thanks Rob, that's what the problem was. It seem RegisterVariableWatch works for XP, but not PPC. NetRemote.RegisterVariableWatch works for both.