sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06849
Re: [Question #178538]: IDE: with: selects whole screen instead of specified region on rerun --- workaround
Question #178538 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/178538
Nidere posted a new comment:
Oh, GREAT thanks for your help - your explanations are awesome!
One more question if you please, regarding the same script - sometimes
it returns stops with an error on the 10th line - "click(m1)". Can't
provide exact text of the error, because it appears really randomly.
It says something about "can't find picture", although there is
definitely the targeted picture on the screen.
This is the reason I tried to use exceptions handling in that place,
unsuccessfully, though)
Do you have any ideas, what can cause such error? And if not, is there
any way to force the script running forward without stopping on the
error?
2011/11/13 RaiMan <question178538@xxxxxxxxxxxxxxxxxxxxx>:
> Your question #178538 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/178538
>
> Summary changed to:
> IDE: with: selects whole screen instead of specified region on rerun --- workaround
>
> Description changed to:
> **** workaround
>
> --- do not use with:, when running script in IDE more than once after
> IDE start .-- use the region.method() syntax instead
>
> --- use command line to run script
>
> ---------------------------------------------------------
>
> Hello.
> Here's my code:
> cs9867.vkontakte.ru/u3380791/97737138/z_16ff18ac.jpg
> Sorry for its stupidity - I'm only studying.
> Thing is, I'm trying to achieve random clicks in the area of buttons I need to push and I get it, BUT program starts clicking at random places of the screen every several minutes.
> All patterns were checked not to be mismatched.
> What can cause such a thing?
> Please, ask for any additional information to provide, I just dunno what can be helpful.
> And thanks in advance!
>
> --
> You received this question notification because you asked the question.
>
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.