[Remind-Fans] Can I know if a reminder is a separator?
Justin Alcorn
justin at jalcorn.net
Tue Sep 19 17:32:47 EDT 2006
Paul Pelzl wrote:
>
> I imagine you could just use a special PRIORITY value to represent
> separators, something like this:
>
> IF defined("web")
> ...
> FSET msgprefix(x) iif(x==0, Bull+NrmPre, x<999, BrRed, x<1001, Red, x<1400, BrBlu,x<5000, Blu, NrmPre)
> ...
> ENDIF
>
> REM PRIORITY 0 MSG Reminders: %"%"%
> REM 25 +7 MSG Check Cars %"%"%
>
> Is that about what you're looking for?
>
> Paul
>
I thought of that but I'm using the float() code and priorities mean
something there.
Hmmmm...I just realized that if I set my priority on separators to 9999
then the default of 5000 will make it work....
So isntead of
MSG %"%"%
I have
REM PRIORITY 9999 MSG %"%"%
and
FSET msgprefix(x) iif(x<999, BrRed, x<1001, Red, x<1400, BrBlu,x<5000,
Blu, x==9999, Sep,Bull+" "+NrmPre)
I just needed to think it through again! Thanks!
More information about the Remind-fans
mailing list