← Back to team overview

sikuli-driver team mailing list archive

[Question #660498]: Get x,y from onappear

 

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

Hi there.. This works..

Reg_observe_always = Region(310,92,413,539)
p = Pattern("clock.png")
m = Reg_observe_always.exists(p,0)

x = m.x
y = m.y

print x
print y


but when I try on onAppear instead of exists I get nothing....

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