← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #701165]: Detect image, click result when target application is minimize

 

Question #701165 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/701165

johnny doe posted a new comment:
You should not minimize it, it does not work when minimize, only put it
in the background.The user can do other things that way also.It is
because of the state of the window. I cannot find a capture image
function that is in the SW_MINIMIZE state,some says it is not possible.
Also you should edit the title of the program in the FindWindow
function so that it points to your target .

The SendMessage function on win32 is for sending input to the target
window(mouse or keyboard input) even if it is in the background.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.