← 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

RaiMan requested more information:
I am very impressed.

I suppose, that there is a minimized app window, whose content is saved
to a bmp-file, without making this window visible on the screen.

I have some problems:

- I cannot use the c++-code as is, since I do not have the environment
to make it runnable on my Windows 11. So it would help me, if I could
get an exe, that accepts the 2 parameters (window-title, file-name).

- I do not understand, what "SendMessageJB(hwnd, 'W', 'W');" does with
the minimized window.

Testing with JNA I always get Rect(x = -32000,y =  -32000, w = 168, h =
28) for any minimized window, when using user32.GetWindowRect(hWnd,
rect).

You can mail me directly at sikulix---at---outlook---dot---com

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