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

Hi,
I recently upgraded to the latest version of Sikuli on my Windows 7 computer. 
The script which was working fine with the previous version of sikuli is not 
working with the current version of sikuli. 

Here's the issue that I am facing:
I am copying certain values from an excel sheet. In one of the cell, the 
formula "= COUNTA(A11:A1001)" provides the value 60. I am trying copy this cell 
value and assign it to a integer variable "row". To do this, i am selecting the 
cell in excel and clicking the copy button of excel. Then I am transferring the 
value in the clipboard to the row variable as follows:

row = int (Env.getClipboard())

Whenthis line is being executed, I am getting the following error:

[error] ValueError ( invalid literal for int() with base 10: [error] ValueError 
( invalid literal for int() with base 10: ) )

When I received, this error, I used the following code to popup the contents of 
the clipboard:

popup (Env.getClipboard())

When executing this line, I am getting a blank dialog box!!

Could you please advise on how to resolve this issue.

Thanks,
Rafiq



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