sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #23863
[Bug 1275728] Re: [request] want to select randomly from a list of matches (e.g. findAll())
** Summary changed:
- [request] Add a function to select randomly in Sikuli
+ [request] want to select randomly from a list of matches (e.g. findAll())
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => Medium
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.2.0
** Description changed:
I need sikuli to choose randomly from its image recognition findings,
how is that possible?
My code in this case is:
- exists("autoSpectate.png",9999) # Wait for Spectate
- click("autoSpectate-1.png") # Click on Spectate
+ exists("autoSpectate.png",9999) # Wait for Spectate
+ click("autoSpectate-1.png") # Click on Spectate
There are normally a few "Spectate"s, but it mostly clicks on the same
one.
- Is there a possiblility to make it randomized intentionally?
+ Is there a possiblility to make it randomized intentionally?
Thanks!
---------------------------------------------------------------
Seem to be a good idea to develop.
Look at the question to find the actual workaround.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1275728
Title:
[request] want to select randomly from a list of matches (e.g.
findAll())
Status in Sikuli:
In Progress
Bug description:
I need sikuli to choose randomly from its image recognition findings,
how is that possible?
My code in this case is:
exists("autoSpectate.png",9999) # Wait for Spectate
click("autoSpectate-1.png") # Click on Spectate
There are normally a few "Spectate"s, but it mostly clicks on the same
one.
Is there a possiblility to make it randomized intentionally?
Thanks!
---------------------------------------------------------------
Seem to be a good idea to develop.
Look at the question to find the actual workaround.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1275728/+subscriptions
References