Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wheel Scroll
#1
i want to change volume with mouse wheel only when cursor is over the volume icon in systray.
my current trigger function only works when taskbar has been activated/clicked, but how to let it work on hover?

Function FF_wheel_up
Trigger #U //FF_wheel_up     Help - how to add the trigger to the macro
Code:
Copy      Help
/ Allows starting macro only in certain window. Edit wintest arguments.

function# iid FILTER&f
out
if(!f.hwnd2) ret
sel _s.getwinexe(f.hwnd) 3

,case "explorer"
,,sel GetWinId(f.hwnd2)
,,,case 1504 ;;systray
,,,,out "systray"
,case "pmcloader"
,,mac "sender-"

,case "wmplayer"
,,mac "wm_down" "" 0
,case else ret -2
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)