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

    Status: Open => Answered

RaiMan proposed the following answer:
according to some bug posts in the net, this seems to be a special Mac/Java 
problem, where there is no solution.
Nothing special with SikuliX.

The recommendation is, to catch the exception and try again or ignore.

so you might do this:

isUnavailable = "#UNAVAILABLE#"
try:
    text = App.getClipboard()
catch:
    text = isUnavailable
if text == isUnavailable:
    # do corrective actions

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to