Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click with offsets not working properly #142

Open
dschiller opened this issue Mar 24, 2021 · 3 comments
Open

Click with offsets not working properly #142

dschiller opened this issue Mar 24, 2021 · 3 comments

Comments

@dschiller
Copy link

dschiller commented Mar 24, 2021

On MacOS the following fails:

  Click  LPX/NewTrackInstrument  0  30

Instead of going 30 Pixels down ( Y Axis ) Sikuli tend to go 30 Pixels up.

Using:

  Click  LPX/NewTrackInstrument   0   -30

Also goes 30 Pixels up. So how to go down ?!?

Workaround:

  Click  LPX/NewTrackInstrument  0  1
  Click  LPX/NewTrackInstrument  0  30

Absolutely ugly but works.

Unfortunetly there is no Move Offset Function which results in unneeded Clicks.

@dschiller
Copy link
Author

It seems it's the 0.

Fix is:

  Click  LPX/NewTrackInstrument  1  30

@dschiller
Copy link
Author

dschiller commented Mar 25, 2021

The 1 still doesn't fix properly. Randomly it fails in the correct Position and the Mouse Cursor is somewhere else - not expected.

@MathieuSlt
Copy link

Hi I have kind of the same problem with the Drag And Drop by Offset. I'm on W10.
For example if i do Drag And Drop By Offset x.png 0 300
It goes down and left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants