So the reason for that is that from when it changes from 6 to 5 it was actually 5.xxx so the logic see's that as more than 5. Putting the trunc there removes all the numbers after the decimal.
Original Message:
Sent: 03-06-2023 05:35
From: Phil
Subject: Clock - change of colour
Thanks Red....adding Trunc to the script, now works perfectly.
Thanks
------------------------------
Phil Hewson
Xpression Freelancer
Original Message:
Sent: 03-06-2023 05:01
From: Red
Subject: Clock - change of colour
I did this and it seems to work for me.

------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 03-06-2023 04:02
From: Phil
Subject: Clock - change of colour
Hi Red - do you think this is solvable? I tried your suggestions but I'm still getting a frame or two of white before the number on the clock changes to red.
Cheers
------------------------------
Phil Hewson
Xpression Freelancer
Original Message:
Sent: 03-02-2023 09:53
From: Red
Subject: Clock - change of colour
Try changing your Smaller Than block to "Smaller Than or Equal To" instead.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 03-02-2023 09:50
From: Phil
Subject: Clock - change of colour
Thanks Red, attached.
------------------------------
Phil Hewson
Xpression Freelancer
Original Message:
Sent: 03-02-2023 09:39
From: Red
Subject: Clock - change of colour
Probably your logic is slightly wrong, share a picture of it.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 03-02-2023 05:57
From: Phil
Subject: Clock - change of colour
Just noticed, when it gets to 5 seconds, the number 5 goes white before turning red - is that solvable?
Example video attached.
------------------------------
Phil Hewson
Xpression Freelancer
Original Message:
Sent: 03-01-2023 14:46
From: Garner
Subject: Clock - change of colour
Text Color changes with text
Original Message:
Sent: 03-01-2023 07:51
From: Phil
Subject: Clock - change of colour
Is there a way I can create a clock where the last 5secs change to a different colour?
For example: 20sec clock in white text, then 5 to zero in red?
Cheers
#XPression
------------------------------
Phil Hewson
Xpression Freelancer
------------------------------