Graphic View

Jack Barse jblists at barse.org
Wed Dec 6 16:17:04 PST 2006


On Dec 6, 2006, at 3:07 PM, James wrote:

> For something like a unit value you needn't do a repeating script.
> There are 2 places you can code that to change whenever the unit
> changes value. You can just put the call to set label params in the
> ON/OFF script of the unit and set the value there (the view does not
> have to be open to have the data saved) then it will just update
> whenever the unit is changed.

If I tuck the set label params call into the on script of a dimmable  
unit, the label updates with the value the unit changed FROM, not the  
value the unit changed TO. For example, if a unit has a value of 40,  
and the value rises to 60, the text label in the view shows 40.  
Likewise, when the value is subsequently changed to 80, the label is  
updated to 60.

I'm running v454 still, so perhaps this is specific to that release?  
(I tried a beta for a day, but it blew up something in my TX15  
attachment and I didn't have time to run it down, so I reverted...)

Jack


More information about the XTensionlist mailing list