RaiMan / SikuliX1

SikuliX version 2.0.0+ (2019+)
https://sikulix.github.io
MIT License
2.77k stars 356 forks source link

IDE: Pressing button "2" causes SikuliX to take screenshot --- workaround #522

Open yobytae opened 2 years ago

yobytae commented 2 years ago

WORKAROUND (restore the default)

IDE -> Preferences -> Quick Capture Hotkey -> put cursor into field ... and press (one after the other)

... and now back to the default:

... press (one after the other)

You might also use a key combination of your choice.


Not sure what the problem is. Whenever 2 is pressed, SikuliX asks to "select an image" trying to take a screenshot. This can be easily avoidable in coding by just copy pasting 2, but unfortunately my code is also supposed to loop through and enter a bunch of numbers into a spreadsheet where "2" needs to be typed. Whenever "2" comes up as a variable to be typed, nothing happens.

Closing down SikuliX and the "2" button returns to normal.

This is on: Apple M1 Max macOS Monterey 12.0.1 sikulixidemacm1-2.0.6-20220409.135403-15.jar

saltict commented 1 year ago

I find out that I can change this in setting, after change everything seem to be ok. Many thanks for good project.