Posted by member 1 on 2003-04-08 23:15:13 link

to get the day of the week I would ask the user to select from a config dialog and then use something like textedit to store and update daily.

*shortcut "Monday" x y monday.png .none .none #100OH !none

*script bang !DayChange
if day less_than 7
++day
else
day = 1
endif
*script exec !textreplace "$ConfigDir$\setup.rc" "day*" "day %{day}"
if day = 1
*script exec !Execute [!ShortcutGroupShow 100][!ShortcutGroupHide 700]
...
endif
*script ~bang

I swear I have to do everything around here. :)