How can I create a WScript.Sleep Object with a random Timer Number?

Antworten
Speedmole
Beiträge: 1
Registriert: 10 Okt 2020, 18:24

How can I create a WScript.Sleep Object with a random Timer Number?

Beitrag von Speedmole »

I know that i can create a WScript.Sleep Object like this: WScript.Sleep 3000 (3 Seconds). But I want to have the Number randomly Generated, for example it should be randomly between 1000 (1 Second) and 5000 (5 Seconds). How do I do that? Could someone please send me a line of Code? That would be really nice :D . Thank you so much :) !!!
Antworten