Tutorial

Getting Started with Macros

Macro Editor

User Interface

Menus and Toolbar

Editing Macros

Macro Debugging

How To

Using variables

Finding and modifying objects

Creating new page content

Copying and moving objects

Asking for user input

Storing persistent data

Using binary data

Sorting objects

Macro menus

Bulleted and numbered lists

Accessing the file system

Accessing the clipboard

Sample Macros

Concepts

Code Structure

Expressions

Objects

Properties

Variables

Data Types

Arrays

Functions

Literals

Operators

Comments

Last updated on: May 12, 2026
Also available as a single HTML file

Onetastic Macro Documentation > Page Objects > Tag

Tag Object

Description

Represents a tag in a OneNote page.

Hierarchical Structure

Tag objects can be found under following objects: Paragraph Image EmbeddedFile

Creating Tag Objects

Tag objects can be inserted directly under following objects: Paragraph Image EmbeddedFile

Remarks

Tags can appear on Images and EmbeddedFiles if they are directly under a Page and on all Paragraphs. For Images and EmbeddedFiles that are under Outlines, check for the parent Paragraph with GetParentOfType function.

Tag Symbols

Following symbols can be used for tags

1Tag 12Tag 23Tag 361Tag 6113Tag 1340Tag 4065Tag 6585Tag 8544Tag 44
4Tag 45Tag 56Tag 664Tag 6484Tag 8443Tag 4362Tag 6282Tag 8241Tag 41
7Tag 78Tag 89Tag 956Tag 5677Tag 7736Tag 3654Tag 5475Tag 7534Tag 34
10Tag 1011Tag 1112Tag 1263Tag 6383Tag 8339Tag 3967Tag 6787Tag 8746Tag 46
48Tag 4869Tag 6928Tag 2860Tag 6081Tag 8142Tag 4268Tag 6888Tag 8847Tag 47
50Tag 5071Tag 7130Tag 3049Tag 4970Tag 7029Tag 2958Tag 5879Tag 7938Tag 38
52Tag 5273Tag 7332Tag 3251Tag 5172Tag 7231Tag 3159Tag 5980Tag 8016Tag 16
96Tag 9695Tag 9594Tag 9453Tag 5374Tag 7433Tag 3357Tag 5778Tag 7837Tag 37
99Tag 9998Tag 9897Tag 9755Tag 5576Tag 7635Tag 3566Tag 6686Tag 8645Tag 45
100Tag 100101Tag 101102Tag 102113Tag 11325Tag 2526Tag 26127Tag 127128Tag 12827Tag 27
103Tag 103104Tag 104105Tag 105114Tag 114115Tag 115116Tag 116129Tag 129130Tag 130131Tag 131
106Tag 106107Tag 107108Tag 108112Tag 11222Tag 2223Tag 23132Tag 132133Tag 133134Tag 134
109Tag 10918Tag 18110Tag 110120Tag 12019Tag 1920Tag 20135Tag 135136Tag 136137Tag 137
14Tag 1415Tag 1517Tag 17121Tag 121122Tag 122123Tag 123138Tag 138139Tag 139140Tag 140
21Tag 2124Tag 24111Tag 111124Tag 124125Tag 125126Tag 126141Tag 141142Tag 142143Tag 143
117Tag 117118Tag 118119Tag 119

Properties

Name Type Access Description
completed Bool read-write Whether this Tag is completed (checked) or not.
completionDate DateTime read-write The date and time of completion of this Tag.
creationDate DateTime read-write The date and time of creation of this Tag.
disabled Bool read-write Whether this Tag is disabled (dimmed) or not.
fontColor Color read-write The font color for this Tag for tags that use formatting instead of a symbol.
highlightColor Color read-write The highlight color for this Tag for tags that use formatting instead of a symbol.
name String read-write The name of this Tag.
symbol Numeric read-write The symbol for this Tag. See remarks for the symbols.
type ObjectType read-only Type of this object. Always has the value of "Tag".

Reference

Statements

Hierarchy Objects

Page Objects

Other Objects

Functions

Array Functions

Clipboard Functions

Data Store Functions

Data Type Specific Functions

Date/Time Functions

Dialog Box Functions

File System Functions

Macro Execution Functions

Macro Menu Functions

Object Functions

Special Functions

String Functions

Window Functions