Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse over window activate
#1
Hi, I would like to create a QM that can activate a window when the mouse is over it? If possible I would like to see this in LibreAutomate also. Thanks
#2
So this does something like I want. However I see this is more then I imagined (I love it!). Now the question is how to get this to run on the way out of the window and stop when inside the window. Thank for any help.

 Function Function5
Code:
Copy      Help
/ Function4 \
int w=win("" "FMPRO19.0APP")
int c=id(1081097264 w)

err+
,out "QM is no joke but don't play with your buffer"
,ret
Acc a

int mhwnd
rep
,a.FromMouse
,mhwnd=a.Hwnd
,if mhwnd=c
,,out "win is FM"
,,SendMessage w WM_ACTIVATE WA_ACTIVE w
,,
,
,0.2


Forum Jump:


Users browsing this thread: 4 Guest(s)