sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54952
Re: [Question #690371]: Drag and Drop random region
Question #690371 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690371
Status: Open => Answered
Manfred Hampl proposed the following answer:
Probably something like
import random
random.seed()
mywidth = Screen(0).getW()
myheight = Screen(0).getH()
dragDrop(Location(random.randint(0,mywidth),random.randint(0,myheight)),Location(random.randint(0,mywidth),random.randint(0,myheight)))
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.