Jump to content
Kuta

Random Wait

Recommended Posts

Hi,

The Wait function takes in a number of seconds/milliseconds.

Is it possible to specify that it waits a random number of seconds/milliseconds?

I would like to say wait a random number of seconds/milliseconds between 1 and 3

something like randomGenerator.nextInt(3) + 1 (based on java)

Share this post


Link to post
Share on other sites

@Kuta

The Z's wait function doesn't have a random option currently. The closest you could get would be to alternate between a long list of waits with different timings to approximate the effect of a random wait.

What would the use case be for something like this though?

Share this post


Link to post
Share on other sites

I too wanted to randomize a wait function  and didn't think it was possible. Just tried it out with alternate option and it works great. I had my Z for about 2 years now and there are still things I am discovering. Terrific mouse!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...