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

Asking for user input

Storing persistent data

Using binary data

Sorting objects

Macro menus

Bulleted and numbered lists

Sample Macros

Concepts

Expressions

Objects

Properties

Variables

Data Types

Arrays

Functions

Literals

Operators

Comments

Last updated on: September 02, 2024
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

1
2
3
4
5
6
7
8
9
10
11
12
48
69
28
50
71
30
52
73
32
96
95
94
99
98
97
100
101
102
103
104
105
106
107
108
109
18
110
14
15
17
21
24
111
117
118
119
61
13
40
64
84
43
56
77
36
63
83
39
60
81
42
49
70
29
51
72
31
53
74
33
55
76
35
113
25
26
114
115
116
112
22
23
120
19
20
121
122
123
124
125
126
65
85
44
62
82
41
54
75
34
67
87
46
68
88
47
58
79
38
59
80
16
57
78
37
66
86
45
127
128
27
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143

To change a Tag's symbol, set its symbol property to the number next to the symbol image above.

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

Color Functions

Data Store Functions

Date/Time Functions

Dialog Box Functions

Macro Execution Functions

Macro Menu Functions

Object Functions

Special Functions

String Functions

Window Functions