how-do-i-get-sikuli-to-wait-until-the-mouse-pointer-changes-from-busy-to-not

Asked by Prabhakaran

Hi,

1) Mouse Cursor Round Symbol - Can we capture this? - How can we make Sikuli wait for this?
ex:
On Screen In Dropdown Field, while type more than 2 words, dropdown - List of value Panel will get open multiple time because of its getting refresh while type each letter or a word. how can tell Sikuli to wait up to panel get open properly?

2) On Screen In One small (100W,30H) Region(First), I want to wait for (3w,15H) Region or Image (Second) to get disappear -
Risk: 1
This 2nd region or Image moving very fast Left to Right then Right to Left Inside the First Region.
Risk:2
The 2nd Region or Image While Moving from Left to Right particularly in one place alone it can disappear then it can continue display and move.
while wait for 2nd Region or image to get disappear - One particular location aalone Sikuli should not say 2nd region disappeared.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

1. mouse cursor cannot be captured with Java Robot (SikuliX) - generally left out from capture.

2. situations like "wait until stable" can only be efficiently supported using observe/onChange

3. to follow rapid moving objects is generally a timing challenge in SikuliX, complex to solve and very specific to the concrete situation - good luck ;-)

Revision history for this message
Prabhakaran (prabha-ssautomation-2018) said :
#2

Thanks RaiMan, that solved my question.