Evan,

I can't help you with your #2 item but I can attest that *exec mute
does mute the sound on my system.  I have inserted my sound.powerpro
script below.  I have a button on my bar which I have programmed to
show the muting status of the sound and also the sound level in
percent.  If I middle click the button I call the Sound script with an
entry point of @ChangeIcon.  This flips the sound muting from on to
off or off to on then changes the icon to reflect the muting state.

> 1) I would swear (but only in course company) that the
> documnetation says that "*Exec mute" toggles the mute state on
> and off. I have re-read the applicable section many times and
> it still says that... or at least I can't seem to read it any
> other way. But, for the life of me, I can not get it to do
> anything, much less toggle mute. Does anyone have any idea what
> I am missing?


@ChangeIcon
*exec mute

@SetIcon
if (muted) do
local icn=cl.GetIconNumber("(Bar)", "snd")
if (icn eq 104)
         quit
cl.SetIcon ("(Bar)", "snd", pprofolder ++ ?"Icons\Sysicons.icl", 104)
cl.SetIconVisible ("(Bar)", "snd",1)
else 
local icn=cl.GetIconNumber("(Bar)", "snd")
if (icn eq 103) 
        quit
cl.SetIcon ("(Bar)", "snd", pprofolder ++ ?"Icons\Sysicons.icl", 103)
cl.SetIconVisible ("(Bar)", "snd",1)
endif


-- 
Best regards,
 BWMarcotte

Using The Bat! v3.85.03 on Windows XP 5.| 1 Build 2600 Service Pack 2           
             



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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 

Reply via email to