← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #166785]: Sikuli can't control keyboard or mouse when running from task scheduler

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
This is a known problem: the mmc console windows block the Java Robot actions (click, type, ...)
see bug 794489

In your case the run from the task scheduler window runs the sikuli
script in this context, so you have the mentioned problem.

If you are sure your script works fine, just put it in the task
scheduler and it will work as requested (e.g. at login).

tested on Win7.

BTW: 
use "C:\Program Files\Sikuli X\Sikuli-IDE-w.bat" as the program to run and
-r  "C:\Users\IcyTea\Documents\test.sikuli" as parameter

and you do not need an extra batch file.

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