Question #222645 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/222645
Description changed to:
hi
i want to do something like this:
def closepage(event):
click("close_subpage")
# mm.next do not work here
with findAll ("images_on_main_pages") as mm:
while mm.hasNext():
click ("image_link_to_subpage")
# this construction don`t work
if (onAppear("close_subpage", closepage))
mm.next()
# i want mm.next() here without processing code after stopObserver()
observe(20, background=False)
stopObserver()
# i want to do bottom lines only if observe() make timeout
print ("do something else if close_subpage not appear in 20sec")
mm.next()
how make this work?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp