cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

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 IX

回复: 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

Recommended Articles