--- In [email protected], "drvalesco" <[EMAIL PROTECTED]> wrote:
>
> currently i have this script running when i press volume up or down
> (the system does the volume change with the button press, powerpro
> just does an OSD)
>
> If (Muted) do
> Osd.Show("Mute "++ assign("vol",fill("00",volume*100/255))++"%",
> "3000", "36", "Arial", "650", "255 000 000")
> Else
> Osd.Show("Volume "++ assign("vol",fill("00",volume*100/255))++"%",
> "3000", "36", "Arial", "650", "000 255 000")
> endif
>
> now, how would i go about (with mousetrap) to have the volume change
> with scroll up/down when the pointer is over the main taskbar and have
> the OSD present as well? then toggle with MMB the mute?
>
OK - I have mouse trap doing the following
ini=0,0,0,0~1280|995~1024,MWU,,,Exec.VolumeAll("+3"),0,1,0,1,0,,
ini=0,0,0,0~1280|995~1024,MWU,,,Osd.Show("Volume "++
assign("vol"\,fill("00"\,volume*100/255))++"%"\, "3000"\, "36"\,
"Arial"\, "910"\, "000 255 000"),1,1,0,1,0,,
ini=0,0,0,0~1280|995~1024,MWD,,,Exec.VolumeAll("-3"),0,1,0,1,0,,
ini=0,0,0,0~1280|995~1024,MWD,,,Osd.Show("Volume "++
assign("vol"\,fill("00"\,volume*100/255))++"%"\, "3000"\, "36"\,
"Arial"\, "910"\, "000 255 000"),1,1,0,1,0,,
ini=0,0,0,0~1280|995~1024,MMD,,,*Script runfile "D:\My
Programs\PowerPro\scripts\mute.txt",1,1,0,1,0,,
the mute.txt file
"C:\Program Files\AutoIt3\Scripts\mute.exe"
If (Muted) do
Osd.Show("Volume "++ assign("vol",fill("00",volume*100/255))++"%",
"3000", "36", "Arial", "910", "000 255 000")
Else
Osd.Show("Mute "++ assign("vol",fill("00",volume*100/255))++"%",
"3000", "36", "Arial", "910", "255 000 000")
endif
for some reason powerpro's mute does not work hence the external call
to mute via autoit
the reason why I went away from mousetrap calling an external script
is due to some script errors "nested too deeply" if the scroll button
is moved too quickly
The question is now I'm just going off of mouse position to do this
function, is there a better way? (say if it was over the Shell_TrayWnd
and how would i implement that?)
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/