Special Characters TCL file

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
geoffreykidd
Posts: 35
Joined: Thu Aug 02, 2007 8:50 pm

Special Characters TCL file

Post by geoffreykidd »

I'm trying to create a clip library which will let me quickly enter some special characters I use frequently so I don't have to set the numlock key on and hit alt+0147 or some other combo. However, I keep getting error messages.

Here's what I've got so far, and it blows up on line 8, according to TextPad.

!TCL=8000, Special Characters for Fast Entry
!TITLE=Special Chars
!SORT=N

!TEXT=LeftSingleQuote
‘
!TEXT=RightSingleQuote
’
!TEXT=LeftDoubleQuote
“
!TEXT=RightDoublequote
�
!TEXT=Emdash
—
!TEXT=TextEmdash
[emdash]
!TEXT=TextSpace
[space]
!Text=TextNewline
[newline]
!TEXT=TextPage
[page]
!


Any help appreciated. Thank you.
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post by kengrubb »

Try this:

!TCL=8000, Special Characters for Fast Entry
!TITLE=Special Chars
!SORT=N

!TEXT=LeftSingleQuote
‘
!
!TEXT=RightSingleQuote
’
!
!TEXT=LeftDoubleQuote
“
!
!TEXT=RightDoublequote
�
!
!TEXT=Emdash
—
!
!TEXT=TextEmdash
[emdash]
!
!TEXT=TextSpace
[space]
!
!Text=TextNewline
[newline]
!
!TEXT=TextPage
[page]
!
(2[Bb]|[^2].|.[^Bb])

That is the question.
geoffreykidd
Posts: 35
Joined: Thu Aug 02, 2007 8:50 pm

Post by geoffreykidd »

Thank you. Once I got specialchars.tcl saved in ANSI coding, it worked like a charm. I also noticed the differences between how you did it and how I did it. I'll be using that information in future changes and new clips.
Post Reply