I'm trying to make a textbox for flexible generic input/output to a TIME variable. What is the placeholder to display the time in T# format? Preferably without the actual 'T#'.
Tried: %t but displays nothing, %t[] displays itself, %t['T#'] displays just 'T#'.
E.g I want variables values T#1d5h2s to be represented as "1d5h2s" and "T#5s" as 5s in the same box. And allow similar flexible input as well. Can it be done without ST code string processing of the textfield?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to make a textbox for flexible generic input/output to a TIME variable. What is the placeholder to display the time in T# format? Preferably without the actual 'T#'.
Tried: %t but displays nothing, %t[] displays itself, %t['T#'] displays just 'T#'.
E.g I want variables values T#1d5h2s to be represented as "1d5h2s" and "T#5s" as 5s in the same box. And allow similar flexible input as well. Can it be done without ST code string processing of the textfield?
For your exact formatting requirements you will need to make your own time to string function (and string to time).
Otherwise you can use the time formatting like:
%t[hh:mm tt]
online help