I need to get the current date in sikuli script. I am using below code snippet in my script, in which DATE has been hardcoded and that need to change on daily basis to run the script daily. I have tried to find in documentation, but couldn't find there. CODE SNIPPET:
type(Key.TAB + "ABC" + Key.TAB + "06-17-2015" + Key.TAB + Key.TAB + Key.DOWN + Key.TAB + Key.TAB + Key.TAB)
Have a look at Pythons
time
,datetime
does not work wel with SikuliFor example:
Change the
"06-17-2015"
bytime.strftime('%m-%d-%y')
.