Question #229079 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229079
Status: Answered => Open
csy is still having a problem:
Hi RaiMan,
Really thanks for the latest version!
It helps a lot.
Somehow, I have another issue with the calendar day, my calendar is start from
Sunday but the example calendar is start from monday.
So may I know how to enhance this row of script?
:
firstDay = date(y, m, 1).weekday()
or I need to change the whole part of script?
:
y = today.year
m = today.month
firstDay = date(y, m, 1).weekday()
days = mths[m-1] # how many days
for r in range(6): # 6 rows
for c in range(firstDay,7): # 7 columns
hover(topLeft.offset(c*colW, r*rowH))
days -= 1
if 1 > days: break
if 1 > days: break
firstDay = 0 # 2nd+ row starts with monday
--
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