Sort Tags

Description : Sort items by whether they are complete or not.

Download

Sort Tags

You need Onetastic Add-in
for OneNote to run this macro.
Download Onetastic
Author(s) : Scurv
Category : Sort
Last Updated : June 19, 2016
Requirements : OneNote 2010 or above
Screenshot :

Sort Tags

No screenshot available for this macro.
Changelog :

June 19, 2016 (A1DC59) - Scurv
Automatically upgraded to the new Macro Language

These versions are no longer supported:

August 28, 2014 - Scurv
Initial version

Comments

Name
Comment
Dan - 2016-11-28
Thank you Omer,

I didnt know that existed - its Brilliant  - even Better :)

Have a great day!
Omer Atay - 2016-11-27
Dan: Search & Tag macro searches a piece of text and adds a tag. You can just use that.
Dan - 2016-11-27
Hi Omer,

Hope you are doing great!
I am trying to replace specific text with a tag symbol - ie the checklist To do Tag.

Every time it finds X1  replace with a  To Do Box,


<?xml version="1.0" encoding="utf-16"?>
<Macro name=" Tag Symbol" category="Test" description="Replace Text with a tag" publishDate="00-00-00T00:00:00.000Z" version="14">
  <Expression>$tag.symbol = 1</Expression>
  <ForEach var="Text">
    <Array>QueryObjects("Text", GetCurrentSection())</Array>
    <Expression>$Text.selected = false</Expression>
  </ForEach>
  <ForEach var="Text">
    <Array>QueryText(GetCurrentSection(), "X1", true)</Array>
    <Expression>$Text.value = $tag</Expression>
  </ForEach>
</Macro>


I have tried everything but can't get it to work :(

Any ideas?