← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #244304]: How to rightclick at current mouse position & Right click Context menu keyboard button constant help

 

Question #244304 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244304

    Status: Open => Answered

RaiMan proposed the following answer:
at 1: sorry for confusion - it is atMouse()

so if you already have moved the mouse pointer to the right location
(e.g. using hover)

rightClick(atMouse())

should do what you want.

--- RightClick Menu key
… if this is a special key, that is not available on a standard US PC keyboard, then you will not be able to use it with type().
you need a valid key combination from the available key constants and a normal key.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.