sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #57148
Re: [Question #696946]: Right click + Shift
Question #696946 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696946
Status: Open => Answered
Manfred Hampl proposed the following answer:
From
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.rightClick
rightClick(PSMRL[, modifiers])
Perform a mouse click on the click point using the right button.
Parameters:
PSMRL – a pattern, a string, a match, a region or a location that evaluates to a click point.
modifiers – one or more key modifiers
Returns:
the number of performed right clicks (actually 1). A 0 (integer null) means that because of some reason, no click could be performed (in case of PS may be not Found).
Side Effect if PS was used, the match can be accessed using
Region.getLastMatch() afterwards.
Use KEY_SHIFT as value for "modifiers", see also
https://sikulix-2014.readthedocs.io/en/latest/keys.html
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.