← 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: Answered => Open

Learner is still having a problem:
Thanks RaiMan for the reply but i'm still confused .

1. click(mouseAt())  , mouseAt() is not defined error is coming , did
you imply to hardcode the coordinates like click(Location(x,y)) that
will work but don't want to HardCode coordinates nor give image at that
place nor match a pattern  , Instead i want clicks to happen at the
current mouse position [ get current mouse position while its executing
and perform click .. ]

2. Also regarding Keys , there will be one key in laptop which just
generates RightClick Menu ( beside the right side of Alt Key for most
laptops ) . How to use that key as i'm not able to find it in Key
Constants section .

See my requirement is I need to right click on a any image/folder and
perform some actions like check properties . For this i want to write
the generic script (  so that i don't have to change script every time
to  right click that particular image or pattern  , instead i will
select the item which i want and run that script without changing the
script at all , it should click in runtime where mouse pointer is
located )

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