← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #694564]: Region methods getRow and getCol does not work

 

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

TestMechanic posted a new comment:
I am using it correctly according to the documentation

getRow(3,4) > means to divide screen(default) in 4 rows and get the
forth one (it is zero based 0,1,2,3)

Here is the excerpt from documentation

***
If you need only one row in one column with x rows or only one column in one row with x columns you can use Region.getRow() or Region.getCol()

getRow(whichRow, numberRows)
    Parameters:	

        numberRows – in how many evenly sized rows should the region be devided
        whichRow – the row to select counting from 0, negative counts backwards from the end

    Returns:

    a new Region created from the selected row
***

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