Task Count + Tags

Modified version of Task Count by Dawid. This macro counts all checkboxes and adds how many are completed to the title of the page. It also counts how many exclamation, question, star, and pin tags there are. This version counts all checkbox style tags (including CheckBox priority 1 - n, meeting checkboxes, starred checkboxes etc). Furthermore, it counts all checkbox tags applied to the same paragraph rather than just 1, so if two checkbox tags are applied to the same paragraph, it will count both of them.


Author(s) : DaveV, Dawid
Category : Title
Last Updated : April 23, 2017
Requirements : OneNote 2010 or above
Changelog :

April 23, 2017 (401D8B) - DaveV
- Removed use of some deprecated properties (e.g. tagtype) - Used Nested foreach loops rather than creating a new paragraph object array for each time tags need to be checked. - Modified the way tags are counted so that: - All tags on a single paragraph are counted (e.g. if there is two different checkbox tags, both will be counted) - Added counting of question mark, exclamation, star, and pin tags to the title. Format of the way the title is displayed is a bit different to the original, but it should be relatively easy to modify if wanted if you're aware of how to manipulate strings.

June 19, 2016 (C7B0B6) - Dawid
Automatically upgraded to the new Macro Language

These versions are no longer supported:

March 19, 2016 - Dawid
Initial version