cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
BobHickey
Level 4

Delay by something other than full seconds

Using installScript, I want to delay the processing of each file by .25 seconds. The Delay() function will only let me use integers, so the shortest delay is 1 second, which is too long.

Does anyone have any ideas on how to delay the processing by a fraction of a second?

Thanks!
- Bob
Labels (1)
0 Kudos
(3) Replies
MarkusLatz
Level 8

Use:

Sleep(number);

were number is the time interval for which execution is to be suspended, in milliseconds.

regards

Markus
0 Kudos
BobHickey
Level 4

Thanks. I kept thinking that a SLEEP command should be there, but only saw the Delay command in the documentation. Makes sense that this is so easy.

I appreciate the response.

- Bob
0 Kudos
MarkusLatz
Level 8

Yes a lot of Windows API's are prototyped into InstallScript by default.

regards

Markus
0 Kudos