You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2018. It is now read-only.
Versions: sikulix 1.1.1 and 1.1.2 (from nightly builds)
OS: Windows 7
If I type the following command in SikuliX IDE, it works perfectly fine:
click('sample.png', KEY_SHIFT)
It clicks on the target while holding the SHIFT key simultaneously.
If I do the same thing in python through jnius, the normal click works, but click with key modifiers doesn't work. None of the following three ways of using key modifiers works.
from jnius import autoclass
Key = autoclass('org.sikuli.script.Key')
KeyModifier = autoclass('org.sikuli.script.KeyModifier')
region.click('sample.png') # works perfectly
region.click('sample.png', KeyModifier.KEY_SHIFT) # doesn't work
region.click('sample.png', Key.SHIFT) # doesn't work
region.click('sample.png', KeyModifier.SHIFT) # doesn't work
They all throw the same error message: JavaException: No methods matching your arguments
Of course, this works perfectly fine without the key modifiers. Please help.
The text was updated successfully, but these errors were encountered:
Versions: sikulix 1.1.1 and 1.1.2 (from nightly builds)
OS: Windows 7
If I type the following command in SikuliX IDE, it works perfectly fine:
click('sample.png', KEY_SHIFT)
It clicks on the target while holding the SHIFT key simultaneously.
If I do the same thing in python through
jnius
, the normal click works, but click with key modifiers doesn't work. None of the following three ways of using key modifiers works.They all throw the same error message:
JavaException: No methods matching your arguments
Of course, this works perfectly fine without the key modifiers. Please help.
The text was updated successfully, but these errors were encountered: