Question #701165 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/701165
RaiMan posted a new comment: ok tested your exe and it works. To use it programmatically, it should accept commandline parameters. - opened a Notepad++ window and put it behind other windows (background) - used the exe, that produced an image of the app window (test.png) then I used the following script, to test that test.png can be found, when the app window is visible: app = App("Notepad++") app.focus() regWin = App.focusedWindow() img = "test.png" imgExe = Image.create(img) print "fromExe:", imgExe print "notepad:", regWin print regWin.find(imgExe) --- output: fromExe: I[test.png(1899x625)] notepad: R[6,4 1914x684 (neu 1 - Notepad++)]@S(0) M[14,55 1899x625]IN(0) %99,85 C(963,367) [147/147 msec] So your approach works, to get the window content of not fully visible windows. I still do not understand the intention of your SendMessage usage in the beginning. What is it good for? --- The only problem now is how to send keyboard and mouse input to a background application. I do not have any experience with the Windows API, so if the net does not jnow a solution, I cannot help. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp