← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #229079]: select a date from calendar

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I have revised the better example (the GUI on the webpage changed)
https://dl.dropboxusercontent.com/u/42895525/ddcalendar.sikuli.zip

might be a little bit clearer and easier to understand.

--- #how if February got 28 days?
You have to know by analysing the current year and then say

mths = (31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31)
if isLeapYear: mths[1] = 28

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