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 > How To > Bulleted and numbered lists

Bulleted and Numbered Lists

Paragraph objects can be part of bulleted or numbered lists. To check whether a paragraph is part of a bulleted or numbered list, you can use one of the following properties:

  • isPartOfList (read-only)
  • isPartOfBulletedList
  • isPartOfNumberedList

You can set isPartOfBulletedList or isPartOfNumberedList property to true to create a bulleted or numbered paragraph. Setting them to false will remove the bullet or number.

Bullet Types

Paragraph objects that are part of a bulleted list have the bulletType property indicating what type of bullet they are displaying. Valid bullet type values are given below:

012345678910111213141516
Bullet Symbol 0Bullet Symbol 1Bullet Symbol 2Bullet Symbol 3Bullet Symbol 4Bullet Symbol 5Bullet Symbol 6Bullet Symbol 7Bullet Symbol 8Bullet Symbol 9Bullet Symbol 10Bullet Symbol 11Bullet Symbol 12Bullet Symbol 13Bullet Symbol 14Bullet Symbol 15Bullet Symbol 16
1718192021222324252627282930313233
Bullet Symbol 17Bullet Symbol 18Bullet Symbol 19Bullet Symbol 20Bullet Symbol 21Bullet Symbol 22Bullet Symbol 23Bullet Symbol 24Bullet Symbol 25Bullet Symbol 26Bullet Symbol 27Bullet Symbol 28Bullet Symbol 29Bullet Symbol 30Bullet Symbol 31Bullet Symbol 32Bullet Symbol 33

Below is an example of how to create bulleted lists:

Copied!
// Get the first outline in the current page $outline = GetCurrentPage().outlines[0] // Insert a new paragraph $p = InsertObject($outline, "Paragraph", -1) $p.indent = 1 $p.text = "Main Item 1" $p.isPartOfBulletedList = true $p.bulletType = 2 // Insert a new paragraph $p = InsertObject($outline, "Paragraph", -1) $p.indent = 2 $p.text = "Sub Item 1" $p.isPartOfBulletedList = true $p.bulletType = 3 // Insert a new paragraph $p = InsertObject($outline, "Paragraph", -1) $p.indent = 2 $p.text = "Sub Item 2" $p.isPartOfBulletedList = true $p.bulletType = 3 // Insert a new paragraph $p = InsertObject($outline, "Paragraph", -1) $p.indent = 1 $p.text = "Main Item 2" $p.isPartOfBulletedList = true $p.bulletType = 2 // Result will be like this: // ● Main Item 1 // ○ Sub Item 1 // ○ Sub Item 2 // ● Main Item 2

Number Sequences

Paragraph objects that are part of a numbered list have the numberSequence property indicating what type of number sequence they are displaying. Valid number sequence values are given below:

English

SeqNameExample
0Arabic1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
1Roman CapitalI, II, III, IV, V, VI, VII, VIII, IX, X.
2Roman Smalli, ii, iii, iv, v, vi, vii, viii, ix, x.
3Letter CapitalA, B, C, D, E, F, G, H, I, J.
4Letter Smalla, b, c, d, e, f, g, h, i, j.
5Ordinal1st, 2nd, 3rd, 4th, 5th, 6th, 7th, 8th, 9th, 10th.
6Cardinal TextOne, Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten.
7Ordinal TextFirst, Second, Third, Fourth, Fifth, Sixth, Seventh, Eighth, Ninth, Tenth.
8Hexadecimal1, 2, 3, 4, 5, 6, 7, 8, 9, A.
9Chicago Manual of Style*, †, ‡, §, **, ††, ‡‡, §§, ***, †††.

Japanese

SeqNameExample
10Ideograph Digital一, 二, 三, 四, 五, 六, 七, 八, 九, 一〇.
11Japanese Counting一, 二, 三, 四, 五, 六, 七, 八, 九, 十.
12Aiueoア, イ, ウ, エ, オ, カ, キ, ク, ケ, コ.
13Irohaイ, ロ, ハ, ニ, ホ, ヘ, ト, チ, リ, ヌ.
14Decimal Full Width1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
15Decimal Half Width1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
16Japanese Legal壱, 弐, 参, 四, 伍, 六, 七, 八, 九, 壱拾.
17Japanese Digital Ten Thousand一, 二, 三, 四, 五, 六, 七, 八, 九, 一〇.
18Decimal Enclosed Circle①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩.
19Decimal Full Width 21, 2, 3, 4, 5, 6, 7, 8, 9, 10.
20Aiueo Full Widthア, イ, ウ, エ, オ, カ, キ, ク, ケ, コ.
21Iroha Full Widthイ, ロ, ハ, ニ, ホ, ヘ, ト, チ, リ, ヌ.

Chinese

SeqNameExample
26Decimal Enclosed Full stop⒈, ⒉, ⒊, ⒋, ⒌, ⒍, ⒎, ⒏, ⒐, ⒑.
27Decimal Enclosed Parenthesis⑴, ⑵, ⑶, ⑷, ⑸, ⑹, ⑺, ⑻, ⑼, ⑽.
28Decimal Enclosed Circle①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩.
29Ideograph Enclosed Circle㈠, ㈡, ㈢, ㈣, ㈤, ㈥, ㈦, ㈧, ㈨, ㈩.
30Ideograph Traditional甲, 乙, 丙, 丁, 戊, 己, 庚, 辛, 壬, 癸.
31Ideograph Zodiac子, 丑, 寅, 卯, 辰, 巳, 午, 未, 申, 酉.
32Ideograph Zodiac Traditional甲子, 乙丑, 丙寅, 丁卯, 戊辰, 己巳, 庚午, 辛未, 壬申, 癸酉.
33Taiwanese Counting一, 二, 三, 四, 五, 六, 七, 八, 九, 十.
34Ideograph Legal Traditional壹, 貳, 參, 肆, 伍, 陸, 柒, 捌, 玖, 壹拾.
35Taiwanese Counting Thousand一, 二, 三, 四, 五, 六, 七, 八, 九, 十.
36Taiwanese Digital一, 二, 三, 四, 五, 六, 七, 八, 九, 一○.
37Chinese Counting一, 二, 三, 四, 五, 六, 七, 八, 九, 十.
38Chinese Legal Simplified壹, 贰, 叁, 肆, 伍, 陆, 柒, 捌, 玖, 壹拾.
39Chinese Counting Thousand一, 二, 三, 四, 五, 六, 七, 八, 九, 十.
40Decimal1, 2, 3, 4, 5, 6, 7, 8, 9, 10.

Korean

SeqNameExample
24Ganada가, 나, 다, 라, 마, 바, 사, 아, 자, 차.
25Chosungㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅊ.
41Korean Digital일, 이, 삼, 사, 오, 육, 칠, 팔, 구, 일영.
42Korean Counting일, 이, 삼, 사, 오, 육, 칠, 팔, 구, 십.
43Korean Legal하나, 둘, 셋, 넷, 다섯, 여섯, 일곱, 여덟, 아홉, 열.
44Korean Digital 2一, 二, 三, 四, 五, 六, 七, 八, 九, 一零.

Hebrew

SeqNameExample
45Hebrew 1א, ב, ג, ד, ה, ו, ז, ח, ט, י.
47Hebrew 2‏ א, ‏ב, ‏ג, ‏ד, ‏ה, ‏ו, ‏ז, ‏ח, ‏ט, ‏י.

Arabic

SeqNameExample
46Arabic Lettersأ‌, ب‌, ت‌, ث‌, ج‌, ح‌, خ‌, د‌, ذ‌, ر‌.
48Arabic Abjad‌أ, ‌ب, ‌ج, ‌د, ‌ه, ‌و, ‌ز, ‌ح, ‌ط, ‌ي.

Hindi

SeqNameExample
49Hindi Vowelsक, ख, ग, घ, ङ, च, छ, ज, झ, ञ.
50Hindi Consonantsअ, आ, इ, ई, उ, ऊ, ऋ, ऌ, ऍ, ऎ.
51Hindi Numbers१, २, ३, ४, ५, ६, ७, ८, ९, १०.
52Hindi Countingएक, दो, तीन, चार, पाँच, छः, सात, आठ, नौ, दस.

Thai

SeqNameExample
53Thai Lettersก, ข, ค, ง, จ, ฉ, ช, ซ, ฌ, ญ.
54Thai Numbers๑, ๒, ๓, ๔, ๕, ๖, ๗, ๘, ๙, ๑๐.
55Thai Countingหนึ่ง, สอง, สาม, สี่, ห้า, หก, เจ็ด, แปด, เก้า, สิบ.

Vietnamese

SeqNameExample
56Vietnamese Countingmột, hai, ba, bốn, năm, sáu, bảy, tám, chín, mười.

Russian

SeqNameExample
58Russian Smallа, б, в, г, д, е, ж, з, и, к.
59Russian CapitalА, Б, В, Г, Д, Е, Ж, З, И, К.

Greek

SeqNameExample
60Greek Smallα, β, γ, δ, ε, στ, ζ, η, θ, ι.
61Greek CapitalΑ, Β, Γ, Δ, Ε, ΣΤ, Ζ, Η, Θ, Ι.

Number Format

In addition to the different number sequences you can get by setting the numberSequence property, you can also customize numbered lists by setting a format through the numberFormat property. This property is a string that contains "##" for the number sequence and any other characters to be displayed in the numbered list. The default value for numberFormat property is "##.". Below are some examples:

##.1., 2., 3.
##)1), 2), 3)
(##)(1), (2), (3)
##:1:, 2:, 3:
Item # ##Item # 1, Item # 2, Item # 3

For a paragraph in a numbered list, the resulting number text from the specified number format can be obtained by checking the read-only property numberText.

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