Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    May 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi.

    I'm creating a document in ASP using VBS by editing a Rich Text Format document, which is then opened in Word. I'm trying to insert the markup to create a 'ticked box' in font Wingdings 2 (symbol number 82), but can't get it right. Can anyone tell me the RTF markup to place a ticked box (symbol number 82) in Wingdings 2 foont, size 11, into a document read by Word?

    It seems to be along the lines of ' {\rtlch\fcs1 \af31507 \ltrch\fcs0 \f40\insrsid8860403 {\field{\*\fldinst SYMBOL 82 \\f ""Wingdings 2"" \\s 11}{\fldrslt\f40\fs22}}}{\rtlch\fcs1 \af31507 \ltrch\fcs0 \f40\insrsid9784262\charrsid8860403'

    Thanks.

    Keith

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    Apologies for the lack of response during the past week, but RTF appears to be a rare specialty these days. Can you extract the code by saving a regular Word document as RTF format with a .txt extension, and then opening it in a plain text editor? See attached for example.

    [attachment=88126:Hello_rtf.png]

    [attachment=88127:Hello_rtf.txt]
    Attached Images Attached Images
    Attached Files Attached Files

  3. #3
    New Lounger
    Join Date
    May 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry for tardy reply - I'm used in this lounge to getting an email when a reply is posted, and that doesn't seem to happen now.

    I see what you've done but so far have not been able to make it work. As you say, RTF is a bit arcane these days, but it's what we have to work with!

    Thanks.

  4. #4
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,420
    Thanks
    33
    Thanked 195 Times in 175 Posts
    I wrote the following in Arial: ##@@ , where the first and last pairs of characters are in 12 pt and the central tickbox is in 11 pt. This gave

    Code:
    {\rtlch\fcs1 \af1 \ltrch\fcs0 \insrsid4940386 ##}{\rtlch\fcs1 \af1\afs22 \ltrch\fcs0 \fs22\insrsid4940386\charrsid4940386 {\field{\*\fldinst SYMBOL 82 \\f "Wingdings 2" \\s 11}{\fldrslt
    \f113\fs22}}}{\rtlch\fcs1 \af1\afs22 \ltrch\fcs0 \fs22\insrsid13437313 @@}
    You'll have to pick the bones out of that!
    BATcher

    Time prevents everything happening all at once...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •