Trigger a task when a value changes

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
yaccri
HouseBot Special Member
Posts: 304
Joined: Wed May 07, 2003 2:19 pm
Location: Tel-Aviv, Israel
Contact:

Trigger a task when a value changes

Post by yaccri »

Maybe it is just too late in the night, or maybe it's because my favorite basketball team had a terrible game. I must be missing something here.



I want to trigger a VB script when some value is changed. Specificaly, make a VB script been fired when a 'TV Channel' numeric property (1-999) changes.



Any suggestions?



Yoram
kbosscawen
Member
Posts: 71
Joined: Thu Jul 03, 2003 8:53 am
Location: Raleigh, NC
Contact:

Post by kbosscawen »

I did this by creating a task:



if ('Cable.CurrrentChannel' is Not Equal '0') Then

Change 'ChangeChannel.State' to 'Running'



ChangeChannel is the VBScript.
Post Reply