← Back to team overview

sikuli-driver team mailing list archive

[Question #661431]: Could sikuli can find pain text in sreen?

 

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

it's me,again(#^.^#)
i have worked with sikulix1.1.1 
i write the follow script in sikuli IDE command line:

re=find("onVanish")
hover(re)

the running result is:
[error] Image: Image not valid, but TextSearch is switched off!
[error] RunTimeIDE: Wait: Abort: Jython: at Delete_Department (1)
[error] RunTimeIDE: ImageMissing: onVanish

I have read the word in sikuli help page like:
onVanish(PS, handler)
Parameters:	•	PS – a Pattern object or a string (path to an image file or just plain text.
                                •	handler – the name of a handler function in the script

the "plain text.",it's meaning that:i could just find some text that it's not a image path,just text?!
if i could do this way,please tell me how to switch on this function!!
thank you!!
i am in china ,GuangZhou city, if you come to this city ,it's welcome for you coming!




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