Windows: Another program locked mouse actions

Asked by Tomáš Hák

Hi everyone,
I have installed Sikuli on Win 7. For many programs it works perfectly.
When I start another program then the program locks mouse ations in windows.
Is it possible to unlock it some way?

Thank you,
Tomhaus ;-)

Question information

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

Not sure what you mean.

... but SikuliX scripts need exclusive use of screen, mouse and keyboard while running. One cannot work in parallel.

Revision history for this message
Tomáš Hák (tomhaus) said :
#2

I mean this:
"Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin."

I know that the "frontmost application" exists and do this problem. But I want to know if it is possible to unlock mouse actions.

Thank you for your commnet ;-)

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

Windows 10?

Revision history for this message
Tomáš Hák (tomhaus) said :
#4

Win 7

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

Sorry for the unnecessary question about Windows version, you mentioned it already :-(

So your frontmost app moves the mouse, while SikuliX is running a script.

If this is by intention, simply ignore the warning, if it does not interfere with your script.

If it does, then you have to find measures, to coordinate mouse usage between the two candidates.

Revision history for this message
Tomáš Hák (tomhaus) said :
#6

Yes the other program blockes mouse actions generally. But I want to know if it is possible to unblock.

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

Try to run the script from a commandline you have opened as admin (context menu of command line open button).

If this does not help: some games have measures to block such mouse actions as generated by SikuliX. Then you do not have any chance.

Revision history for this message
Tomáš Hák (tomhaus) said :
#8

Yes, that is the problem. Game blocks mouse actions. But I think if the game blocks mouse action from SikuliX then I can write code from scratch and it will not recognize it like mouse actions.