New question #170315 on Sikuli:
https://answers.launchpad.net/sikuli/+question/170315

import random
random.seed()
t = random.randint(0.3,0.8)

whiile True:
<tab>wait(t)
<tab>click(imgA,png)
<tab>hover(imgB.png)

Seems like the random.randint doesnt recognize miliseconds time because it came 
out with an error. I would prefer not to use random.random() though. So how can 
input the above timing without getting an error? would fraction it work? for 
example, 0.3 = 3/10 and 0.8 = 4/5 so t = random.randint(3/10,4/5).

Thanks

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to