← Back to team overview

sikuli-driver team mailing list archive

[Question #163944]: evaluating the contents of the Clipboard

 

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

I need to know the syntax for evaluating the contents of the clipboard.  I need to cut a cell from Excel and based on it's contents perform certain actions in sikuli.  I've tried assigning the value of a "cut" to a variable like this x = type("c",KEY_CTRL).  I've also tried like this x = Env.getClipboard().  But the value always comes back as a boolean 1 if there's something in the clipboard, 0 if it's empty.  Is there a way to capture the actual contents?

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