This is an offshoot of my previous thread, but I started a new one as I think this relates to the property change more than the scripting itself.
I have a Numeric text field with integer bound to a tag with the hour of day.
The script checks for the hour and does a reset of other variables at 5:00am.
“if event.source.intValue == 5”
It works every time in designer, but I’ve had the live version miss sometimes. Oddly, if I save when it misses, then it fires right away. So suspect I did something that Property Change doesn’t like rather than an issue in the if statement. I did consider it firing so fast that using it’s own intValue in the if statement was a bad idea - but then I’d expected it to be off by an hour rather than missing. Stranger: why it always fires in designer; I even tested it firing on every hour a couple different days, and it worked all day.