Posted by member 7223 on 2003-09-30 02:50:19
Want to use the mouse wheel to scroll systray icons ?
use this:
Sometimes, just enter the vtray area to give focus to the label and enable wheelscroll. But generally, you'll still need to activate it by middle-clicking on vtray.
Guess other modules could hook the wheel this way
use this:
*netloadmodule one-0.5 http://loose-screws.com/mdownload.php?id=203
*netloadmodule xlabel-2.2
*netloadmodule vtray-1.06
*netloadmodule mzscript-0.9b12-jam4 http://loose-screws.com/mdownload.php?id=198
vtrayIconScrollStep 1
vtrayonmouseenter !execute [!varset wheelup "!vtrayscrollicons back"][!varset wheeldown "!vtrayscrollicons next"][!one xLabel wheellabel]
*label wheellabel
wheellabelstarthidden
wheellabelalwaysontop
wheellabelonwheelup !exec %{wheelup}
wheellabelonwheeldown !exec %{wheeldown}
*netloadmodule xlabel-2.2
*netloadmodule vtray-1.06
*netloadmodule mzscript-0.9b12-jam4 http://loose-screws.com/mdownload.php?id=198
vtrayIconScrollStep 1
vtrayonmouseenter !execute [!varset wheelup "!vtrayscrollicons back"][!varset wheeldown "!vtrayscrollicons next"][!one xLabel wheellabel]
*label wheellabel
wheellabelstarthidden
wheellabelalwaysontop
wheellabelonwheelup !exec %{wheelup}
wheellabelonwheeldown !exec %{wheeldown}
Sometimes, just enter the vtray area to give focus to the label and enable wheelscroll. But generally, you'll still need to activate it by middle-clicking on vtray.
Guess other modules could hook the wheel this way