-
September 16th, 2006, 09:09 AM
#1
Power.BatteryLifePercent
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
#2
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
#3
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
#4
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
#5
By the way you should be using NetRemote.RegisterVariableWatch, not just RegisterVariableWatch
--Rob
-
September 30th, 2006, 07:25 AM
#6
Thanks Rob, that's what the problem was. It seem RegisterVariableWatch works for XP, but not PPC. NetRemote.RegisterVariableWatch works for both.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules