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

john_warren proposed the following answer:
I've been using this little function for assigning clipboard contents to
variables inside Sikuli on OSX.  I'd probably feed the variable as a
parameter for an AppleScript that talks to Growl (via osascript
command).

def grabClipboard():
        import os
        (stdin,stdout) = os.popen4("pbpaste")
        results = stdout.read()
        return results

-- 
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