← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #261418]: onAppear() performs function but gives error and halts script. does not happen in 1.0.1

 

Question #261418 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261418

RaiMan proposed the following answer:
Sorry Raiman I dont understand. When I read the Python documentation it
stated that if I wanted to use the onAppear() function that it accepted
one parameter so I thought "oh how neat i can use this onAppear to say
when this item appears perform this function.

but you are saying that is not how it was designed and not its intended
function?

You are saying in 1.0.1 that onAppear(img, paste('text')) was NOT
support to work but a defect allowed it to work with out displaying an
error in the IDE and that in 1.1.0 that defect is fixed now which is why
i get an error in the IDE now?

What are the cons to allowing the onAppear() function to call another
function?

I dont understand how the observe() is supposed to work and what lambada
is etc so now i'm more confused unfortunately. I apologize.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.