Notifications
Clear all
We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.
Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.
Topic starter
13/04/2025 6:07 am
[items]
#BEGIN-ONLOAD
set White = #ffffff
MONITOR=onload:1, set:fs={{12*%7/96}}, hidden:1
SET MYFONTSIZE1 = %fs%[2.0d]
IF=value1:%fs%,value2:12,comparator:eq,true:T300,false:F600,set:res=%1
WIDTH=300
COMMENT=display:%res%[sub:2:3],set:width=%res%[sub:2:3]
IF=value1:%fs%,value2:24,comparator:eq,true:T600,false:F300,set:res=%1
WIDTH=600
COMMENT=display:%res%[sub:2:3],set:res2=%res%[sub:2:3]
COMMENT=%res2%
WIDTH=%width%
Topic starter
13/04/2025 7:06 am
I was able to get the following to work:
begin-onload
MONITOR=set:fs={{12*%7/96}},display:{{12*%7/96}}
IF=value1:%fs%, value2:12, comparator:eq, hidden:0
WIDTH=300
IF=value1:%fs%, value2:24, comparator:eq
WIDTH=600
end-onload
Be sure there are no trailing spaces on the WIDTH item