← Back to team overview

sikuli-driver team mailing list archive

[Question #260954]: Grouping for 1.10? Unclear how to use 'use(aRegionOrAScreen)' or 'with'

 

New question #260954 on Sikuli:
https://answers.launchpad.net/sikuli/+question/260954

How does grouping work in 1.10?  It is unclear how to use 'use(aRegionOrAScreen)' .

According to http://sikulix-2014.readthedocs.org/en/latest/region.html#grouping-method-calls-with-region 'with' is deprecated.

I tried simply doing something such as:
    use(aRegionOrAScreen)
    click('image')
    ...

Find is still using SCREEN instead of 'aRegionOrAScreen'

Trying someting like:
    use(aRegionOrAScreen):
        click('image')

Results in "SyntaxError ( "no viable alternative at input ':'", )"

I am using the nightly build as of 1/16


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