← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #381074]: How can i compare value on screen with value in my script?

 

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

    Status: Open => Answered

Alex Lunyov proposed the following answer:
Is the visual value on your screen text or pic? If it is text you just
have to copy it from the screen in the following sequence: click the
text, select it, copy to the clipboard and read into the variable in
your script using the command:

myValue = Env.getClipboard()

Otherwise you could try using OCR feature.

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