How to get the system cursor type?

Asked by mike wang

I am using sikuli to control a windows application, when click a button, the system corsor changes to Busy(HourGlass), I have to wait until it changes to Idle(Normal), then go to next step.
But I don't know how to get the system cursor type? Is there a way to call the windows API GetCursorInfor to get it or some other way?

Question information

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

No way currently to do this without any prebuilt Java classes (either using JNA or BridJ (used by SikuliX class ....util.SysJNA)

So if you really need it, you have to setup such a helper class for your needs (come back if you are willing to step down to the Java level)

Revision history for this message
mike wang (cn.mike) said :
#2

Thanks, RaiMan.
I believe this request is also helpful for other Sikuli users.
Is it possible to add this feature in next version?

Revision history for this message
RaiMan (raimund-hocke) said :
#3

ok, is on the list for version 2

see related bug

Revision history for this message
mike wang (cn.mike) said :
#4

Looking forward for version 2.