Page 1 of 1

Weekly Reminders

Posted: 16 May 2016 20:33
by totmad1
This was a simple idea to provide TV reminders, but can of course be used for any weekly reminder.
It was also a good opportunity to develop my skills with ‘html()’.
Also to provide an example of ‘include’ which I’ve used in ‘TM1_weekly_demo.xys’ and ‘function’(created by highend) which I’ve used in ‘TM1_weekly.xys’ .
These and other User Defined Functions can be found.
http://www.xyplorer.com/xyfc/viewtopic. ... 75#p136021 swapkeyvalue
http://www.xyplorer.com/xyfc/viewtopic. ... 45#p135059 RepTokenPos

Included in ‘TM1_weekly_demo.zip’ are
TM1_weekly_demo.ini , TM1_weekly_demo.xys
In a folder named ‘inc’ you’ll find
RepTokenPos.xyi , SelSortList.xyi , swapkeyvalue.xyi .

Included in ‘TM1_weekly.zip’ are TM1_week.ico & TM1_weekly.xys .

This first image is what you should see when run.
Choose either options, setup takes up to 10 secs.
Capture-1.jpg
If 'Input' is selected you should see second image which is choice of day.
Capture-2.jpg
Third image is in 'demo' it is an unsorted list. note 5 & 14 have '0' priority.
Capture-3.jpg
Fourth image is sorted list.
Capture-4.jpg
Final image is 'View Todays'.
Capture-5.jpg
TM1_weekly_demo.zip
TM1_weekly.zip

Re: Weekly Reminders

Posted: 16 May 2016 20:44
by tiago
Thanks for sharing! Months ago I attempted a take on such a matter without any usable result.

Re: Weekly Reminders

Posted: 16 May 2016 21:21
by totmad1
Thank You for your comment. Hope you have much use out of it.
I had thought of putting a 'swap' control to change 'hide' to 'show' and vice versa.
Had a rethink on whether it was needed.