← 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:
Did you already check, wether the calendar numbers can be read correctly in all cases?
print selectRegion("select a day").text()

if you know the weekday already, then you could search for the number in
the region below the heading (seven calculated column areas).

If text() does not work, then you have to implement a fully calculated solution.
e.g. calculate the click point based on the geometry of the calendar and the date (weekday = column, week in month = row).

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