← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #142644]: How to import win32com to sikuli

 

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

    Status: Answered => Open

Jessica Tan is still having a problem:
Thanks for your quick response. 
Reason for importing win32com in sikuli is because when i use sikuli to open an excel file, i have problem in selecting the specific cell. That's why i am thinking of importing win32com, so that i can have better control on cell selection. 

I wrote the following code in sikuli to select Cell C1 in excel
spreadsheet.

location = find (Image of Cell "C" )
click(location.getCenter().below(15))  # move down by 15 to select C1

But the above code failed to select C1, it selects Cell A instead. Could
you please advise how should i modify the code in order to select
specific cell?

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