> I've tried to implement this feature too, but I get a "bad
> expression: expecting operator"-error...
> Here's the content:
>
>
> If (Muted) then do cl.SetIcon("MainBar", 11, "c:\winnt\system32
> \sndvol32.exe", 1) else cl.SetIcon("MainBar", 11, "c:\winnt\system32
> \sndvol32.exe", 2)
You're looking for a mute indicator...I just realized that, I was thinking
you were working on hiding/showing a generic icon.
Here's my mute indicator, if it's useful to you or not.
Create a monitor item:
Script If (pproflag(4) != muted)
More Commands:
Flag reverse 4
Format item item 2 list "_Bar: !Main" hide &(not muted)
You'll have to adjust the last item, so that it is referencing a bar button
that has an icon that is a mute-like picture like
C:/WINDOWS/system32/sndvol32.exe item 4 (and you can set the command of that
button to unmute as well).
It's a nice simple 2-item mute indicator, enjoy! :)
David Troesch | Atlanta, GA | ICQ# 2333123
Life is short. Fly fast. RIP Sergio: 12/03
Funstuff: Never raise your hands to your kids. It leaves your groin
unprotected. - Jerry Seinfeld
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/