Re: [Sikuli-driver] [Question #696946]: Right click + Shift
Question #696946 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696946 Status: Open => Answered masuo proposed the following answer: keyDown(Key.SHIFT) rightClick("image.png") keyUp(Key.SHIFT) https://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=KeyDown#Region.keyDown -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #696946]: Right click + Shift
Question #696946 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696946 Manfred Hampl posted a new comment: or rightClick("image.png", KEY_SHIFT) -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #696946]: Right click + Shift
Question #696946 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696946 Status: Answered => Solved DH confirmed that the question is solved: Thanks, Now I understand how I can combine. :-) -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #696946]: Right click + Shift
Question #696946 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696946 Status: Answered => Open DH is still having a problem: Hmm I don't understand. I can't figure out how to combine myEdge = find("edgeIcon.png") rightClick(myEdge) That works just fine. But I need to right click + Key.SHIFT -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp