How to pause a script for 100ms?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

How to pause a script for 100ms?

Post by aliteralmind »

I want a script to pause for a tiny bit, and the only way I see to do it is with the "beep" command. I don't want to prompt the user, I just want it to take a little breather between some steps.

How do you do this without beeping?
Windows 8.1, 64-bit

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: How to pause a script for 100ms?

Post by bdeshi »

use the wait command.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: How to pause a script for 100ms?

Post by aliteralmind »

Undocumented command! :)

Thanks.
Windows 8.1, 64-bit

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: How to pause a script for 100ms?

Post by bdeshi »

:wink:
wait [wait period in ms];
maybe the default is 1000, I forget.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply