Re: [Sikuli-driver] [Question #674136]: Loop break by if exists ("path to image") not work :(

2018-09-21 Thread Adrian Zieliński
Question #674136 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674136 Status: Answered => Solved Adrian Zieliński confirmed that the question is solved: Yup, now everything works correct. Thx for help! -- You received this question notification because your t

Re: [Sikuli-driver] [Question #674136]: Loop break by if exists ("path to image") not work :(

2018-09-19 Thread Adrian Zieliński
Question #674136 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674136 Adrian Zieliński posted a new comment: Hi, Probably I found solution :P I've just break loop in wrong moment :P Here it is: for n in range(20): type (Key.F6, KeyModifier.SHIFT) wait(2)

Re: [Sikuli-driver] [Question #674136]: Loop break by if exists ("path to image") not work :(

2018-09-19 Thread Adrian Zieliński
Question #674136 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674136 Adrian Zieliński posted a new comment: Hi, you mean sth like this: while True: if not exists("1537362590995.png"): for n in range(10): ? I tried this b

Re: [Sikuli-driver] [Question #674136]: Loop break by if exists ("path to image") not work :(

2018-09-19 Thread Adrian Zieliński
Question #674136 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/674136 Adrian Zieliński posted a new comment: I also tried sth like below: while True: if not exists("1537362590995.png",0): for n in range(10): type(Key.F6, KeyModi

[Sikuli-driver] [Question #674136]: Loop break by if exists ("path to image") not work :(

2018-09-19 Thread Adrian Zieliński
New question #674136 on Sikuli: https://answers.launchpad.net/sikuli/+question/674136 Hi all! I have sth like below: for n in range(10): type (Key.F6, KeyModifier.SHIFT) wait(2) for n in range(4): type(Key.TAB) type(Key.ENTER) x=0 y=+16