← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235132]: Click random item at the given range

 

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

hakim johari gave more information on the question:
ok i already got this

my script

import datetime


tomorrow = datetime.date.today() + datetime.timedelta(1)

click(Pattern("from.png").similar(0.75).targetOffset(54,0))
type(str(tomorrow))
click(Pattern("to.png").targetOffset(39,1))
type(str(tomorrow))

but this is type as format Y-m-d

I need a format d-m-Y

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