I have a timer component that I would like to run up to a certain number once and then stop.
I can write the Running prop via script on startup, but how do I get the timer to not reset once it hits the bound?
Also - why no customizer for timer?
I have a timer component that I would like to run up to a certain number once and then stop.
I can write the Running prop via script on startup, but how do I get the timer to not reset once it hits the bound?
Also - why no customizer for timer?
Have it disable itself within its actionPerformed
event?
Tried that. Action performed doesn't seem to execute ever
Show your code.
With that info I was able to make it work.
Final code:
if event.source.value > event.source.parent.startupTime:
event.source.running = False
I would've use a custom property rather than a root prop, but