mouseDown Error

Asked by Darshpreet Grewal on 2017-03-01

I keep on getting this error when I run my sikuli script

mouseDown: buttons still pressed - using all

this is the part of code where I am using mouseDown function

    click(recallALL)
    wait(1)
    mouseDown(Button.LEFT)
    rightClick(storeALL)
    mouseUp(Button.LEFT)

can someone please help me out

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2017-03-03
Last reply:
2017-03-03
RaiMan (raimund-hocke) said : #1

the usage is not correct:

between mouseDown() and mouseUp() there cannot be any other click actions - only mouseMove()

Not really sure what you want to accomplish here.

So basically I am trying to left click on a button and hold it down, then right click on a different button to perform an action.

RaiMan (raimund-hocke) said : #3

I looked into the code:
the error message is not really necessary, since everything works as it should.

So simply ignore it.
Will be away with next nightly.

Can you help with this problem?

Provide an answer of your own, or ask Darshpreet Grewal for more information if necessary.

To post a message you must log in.