|
04/07/2007, 10:57 AM
#584
You used the
if (ONOFF)
RegWriteString( "HKLM","System\State\Phone","Current Operator Name", "TREO ALERTS ((ACTIVE))" )
RegWriteString( "HKLM","Software\Microsoft\Ril","CarrierName", "TREO ALERTS ((ACTIVE))" )
Else
RegWriteString( "HKLM","System\State\Phone","Current Operator Name", "TREO ALERTS -DISABLED-" )
RegWriteString( "HKLM","Software\Microsoft\Ril","CarrierName", "TREO ALERTS -DISABLED-" )
EndIf
EndIf
LastTs = TimeStamp()
# turn on Chime if any notifications are pending whenever Ringer on.
If ( Notify && NOT ChimeIsOn && ONOFF )
RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "Toggle", 1 )
CallScript( "\Program Files\TREO ALERT\REMIND.mscr" )
ChimeIsOn = TRUE
EndIf
###################################################
That If value used is not alive when you turn treo alerts off so refresh loop stops.
Correct?
ONOFF is a toggle value created by treoset.mscr
|
|
|