sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15295
[Question #217753]: How to make click(excelARROWdown) * 36 work
New question #217753 on Sikuli:
https://answers.launchpad.net/sikuli/+question/217753
I thought you could make a line repeat by adding a * after the () is this not true? I'm trying to clean up this code
#I copy an email address from one place then want to hit let sikuli find it in an excel list of about 2000 emails. It does a search function, finds it and always puts it in the middle of the excel page. Well, for my second code to work, I need that email at the top of excel, so I have to hit down arrow exactly 36 times. Is there an easier way to do this or a cleaner way to repeat the clicking of the downarrow in excel? Thanks guys!
click(excelMENU)
type("f",KEY_CMD)
type("v",KEY_CMD)
type(Key.ENTER)
click(excelCLOSE)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
click(excelARROWdown)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.