Description
Inserts a text string at the cursor position interpreting GNML tags and special characters.
Syntax
Text.InsTedText (str1) |
str1
text and GNML tags to insert at cursor position.
Special character |
Use |
No. of chars |
Tag bracket > |
">" |
1 |
Tag bracket < |
"<" |
1 |
Start table ¦ |
"$" & chr(9) |
2 |
Table column |
chr(9) |
1 |
Last tab row |
"$" & chr(13) & chr(9) |
3 |
Line break ¬ |
chr(13) & chr(10) |
2 |
Paragraph break |
vbcrlf & vbcrlf |
4 |
Bell @ |
$@ |
2 |
Standard character |
Use |
No. of chars |
@ |
@ |
1 |
$ |
$$ |
2 |
Greater than |
"$>" |
2 |
Less than |
"$<" |
2 |
Return value
Error code
See also
Examples
Text.InsTedText (">hld 20pt<Universal declaration")
Inserts text Universal declaration in the type size and leading of 20pt
Text.InsTedText (">hld 20pt<Universal $@declaration")
Inserts text Universal declaration in the type size and leading of 20pt, with the Bell character inserted before "declaration"
Text.InsTedText (">co M<Price $$20")
Inserts text Price $20 in the color Magenta. Please note the double $$ to render the dollar sign.
Text.InsTedText ("One is less than two, two is greater than 1 (1$<2$>1) ")
Inserts the text One is less than two, two is greater than 1 (1<2>1) where < and > are interpreted as text and not as tag brackets.
Context
Text designer commands
See also