← Back to team overview

sikuli-driver team mailing list archive

[Question #291777]: Can you define a region outside of a function, then use it on that function

 

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

Hi still learning Sikuli and im wondering,
 Can you define a region outside of a function, then use it on that function?
i don't want to define it inside function as the region may change 
EG.
r = Region(1625,158,265,336)
for n in range (10):
    r = Region(1625,158,265,336)
    r.Mails.mails()

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