← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #283780]: how to change default screen to a custom region?

 

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

    Status: Open => Answered

masuo proposed the following answer:
When click() does not work as I think, I use mouseMove() and click().
But this is in my case. This might  not work in your case.

http://sikulix-2014.readthedocs.org/en/latest/scripting.html?highlight=mousemove

[excerpt of the document:]
If the internal timing of the compound mouse functions like click() or dragDrop() is not suitable in your special situation, you might as well build your own functions using the basic mouse functions Region.mouseDown(), Region.mouseMove() and Region.mouseUp()

[example:]
if exists("image") :
   mouseMove("image")
   click("image")

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.