Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse Scroll over winow caption but not active
#4
SHoot....this seems to only work for some windows (most notably QM).  anyone have an idea as to why?

Function Trans_Lower
Trigger #Dh2 0x1     Help - how to add the trigger to the macro
Code:
Copy      Help
int hwnd=win(mouse)
int col flags
byte alpha
int z
GetLayeredWindowAttributes hwnd &col &alpha &flags
out "alpha %i" alpha
z=18
if alpha=0
,alpha=255
else
,alpha-z
out "alpha %i %i" alpha hwnd
if alpha<24
,Transparent(hwnd 25)
,3
,end
Transparent(hwnd alpha)
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread
RE: Mouse Scroll over winow caption but not active - by ken gray - 02-19-2021, 07:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)