[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Inserting Hyperlinks for .rtf
- Subject: Re: Inserting Hyperlinks for .rtf
- From: Carl Distefano cld@xxxxxxxx
- Date: Wed, 23 May 2012 22:55:36 -0400
Reply to note from Jon P Wed, 23 May 2012
13:47:57 -0700 (PDT)
Jon:
> I need to insert hyperlinks in what is going to become an .rtf
> document.
Hmmm, this is tricky. A filter won't work, because there's no *native*
way to embed a hyperlink in XyWrite. (U2 enables "Xyperlinks", but
that's a different story.) Thus there's no recognizable input for a
filter to convert.
You could try putting the minimal RTF markup for a hyperlink, which
would be this (using your example):
{\field{\*\fldinst HYPERLINK "http://www.youtube.com/watch?v=sCNPXpe
hoCM"}{\fldrslt "Stupid Girl"}}
(Be sure to delete any internal carriage return(s) in the above.)
I'm have no confidence that this will work when you run it through
your e-mail converter, however. A well-designed conversion program
should treat that code as literal text, not as RTF markup, meaning
that it will NOT display and function as a hyperlink in the RTF file
that emerges at the other end. But you never know; it's worth a try.
On the off-chance that it does work, you could store the RTF markup in
Save/Gets to avoid typing it out every time. That's the least of the
problem.
I can't shake the image of the villain Word tying down the maiden
XyWrite as the steaming locomotive barrels down the track. Is there a
Dudley Do-Right out there who can come to the rescue? I'm afraid it's
not me.
--
Carl Distefano
cld@xxxxxxxx