Quote:
Originally Posted by ahmedwork
and how do you guys gonna read pixel and do imagesearch if bdo window is minimized and btw send message is blocked on blackdesert you have to implement a custom input driver
Sent from my Redmi 4 using Tapatalk
|
Well the use-case here was having BDO on a second screen while doing something else on the main screen, so it wouldn't be minimized. But maybe it's possible to get window information using the hwnd, but ImageSearch/FF might not work with it. I know I had this working with EVE Online.
Quote:
Originally Posted by CrayonCode
@ [Only registered and activated users can see links. Click Here To Register...] BDO blocks input if the window isn't active or the mouse is outside of window region. I'm already using controlsend so all keyboard input is directly sent to BDO. Controlclick doesn't work at all sadly.
|
ControlClick does not work like SendMessage does. The first one is more oriented towards WinForm applications which have controls, and the later is more low-level raw events. In the context of BDO, ControlClick would just be sending clicks to the window control.
The basics of SendMessage are building the LParams with the coordinates and sending WM_LBUTTONDOWN/WM_LBUTTONUP, along with other events, like mousemove/hittest/etc to simulate it.
But in terms of effort-reward, I think there are other things that should be prioritized before attempting this.