cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
lala
Level VII

How to write wait time in JSL as a numeric display of seconds?

Specific point: I set the countdown for 20 seconds, and when there are still 5 seconds left, a window will pop up to show the remaining number of seconds, and the displayed number will be reduced by second, and the countdown window will automatically close

 

Wait(20);

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to write wait time in JSL as a numeric display of seconds?

I would most likely use Caption

Names Default To Here(1);

For(i = 4, i >= 0, i--,
	Caption(
		{100, 200},
		Char(i),
		Font("Arial Black"),
		Font Size(12)
	);
	wait(1);
);

Caption(remove);
-Jarmo

View solution in original post

2 REPLIES 2
lala
Level VII

回复: How to write wait time in JSL as a numeric display of seconds?

  • Such a small display can be achieved, the smaller the better

2024-03-22_15-19-40.png

jthi
Super User

Re: How to write wait time in JSL as a numeric display of seconds?

I would most likely use Caption

Names Default To Here(1);

For(i = 4, i >= 0, i--,
	Caption(
		{100, 200},
		Char(i),
		Font("Arial Black"),
		Font Size(12)
	);
	wait(1);
);

Caption(remove);
-Jarmo