I need to concatenate several text members into one new member.

The script below works, but all hyperlinks in the text are lost:

repeat with CurrMem in locMemList
   member("NewMem").rtf = member("NewMember").rtf && member("CurrMemr").rtf
end repeat

I suppose the rtf of member doesn't know anything about hyperlinks.

This other script does preserve the hyperlinks, but messes up many of the 
characters in the 128-255 ANSI range:

repeat with CurrMem in locMemList
   member("NewMem").html = member("NewMember").html && member("CurrMemr").html
end repeat

For example, try putting the smart quotes (dec 132 and 148) into a text member 
and then trace the member's HTML: you'll see that they are represented by HTML 
entities Ñ and Ó respectively (in Windows). Now try this:

member(1).html = "<html><head><title></title><body>&Ntilde; 
&#211;</body></html>"

and you'll see very different characters in the member's text, not the smart 
quotes.

Director does this with several other characters in the upper-ANSI; they do not 
survive the round trip in the HTML property.

How can I accomplish what I want?

Thanks,

Slava

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to