I'm not sure what I'm doing wrong here.

I'm using the timers config from here:
http://[yahoo group files]/Bars_Configs_Snippets/0_davidt/timer.zip

...which I have entered manually from the export files since the current 
version of ppro doesn't seem to read the obsolete format. So now I'm 
adding some of my own stuff to it and one of things I want to do is 
toggle the icon on the "Timer2" subbar of "Menu: Timer". The command 
appears to execute (no error messages) but the icon visibility never 
changes - it's always visible. I was successfully able to change the 
visibility of an icon on my main bar. So what am I doing wrong on this one?

Thanks
-drew

;----------------------------
;here are excerpts from export of the bar/item I want to toggle...

[Menu: Timer:Properties]
;...snip...

[54]
Label = Timer2
Icon =Left,0
LCmd1 = *Format
LParam1 = StartSubBar
MCmd1 = (none)
RCmd1 = (none)

[61]
id = test1
Label = Add Text To Log File
Icon =%WINDIR%\notepad.exe,0
LCmd1 = [EMAIL PROTECTED]
MCmd1 = (none)
RCmd1 = (none)

[110]
Icon =Left
LCmd1 = *Format
LParam1 = EndSubBar
MCmd1 = (none)
RCmd1 = (none)


;----------------------------
;here's a clip from .datscripts file
@ToggleAppend
   If ((pproflag(4)) eq 1) do
     cl.SetIconVisible("Menu: Timer", "test1", 0)
   Else
     cl.SetIconVisible("Menu: Timer", "test1", 1)
   EndIf
   Flag reverse 4
   Quit


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

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/
 


Reply via email to