← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #148137]: How to activate at a specific time every week?day

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Of course is it possible to program a timer inside the Sikuli script.

use the appropriate modules time and datetime (look at the Python docs).

for this purpose I would not use a timed exists() but a loop instead
that makes the timing.

Another possibility would be to start the script with a system feature
(at ....) at the specific time of day and then decide inside the script,
whether something has to be done.

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