Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs

May, 2005
01 02 03 04 05 06 07
08 09 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

Search the weblog

Genii Weblog

Civility in critiquing the ideas of others is no vice. Rudeness in defending your own ideas is no virtue.

Tue 24 May 2005, 03:28 PM
A friend asked me how I handle hyperlinks to common destinations, as I frequently answer questions in e-mails or comment on my blog about our products, and they always take the form of @Midas Formulas or CoexEdit.  He wanted to know if I keep copies handy, or have add them manually, or what.

The answer, of course, is that I use our Midas Rich Text LSX to do it for me.  The basic code is below (the whole agent is only 25 lines with comments):

' *** Connect to BlogBodyRT field and perform LinkMatching  ****
Call rtitem.ConnectBackend(doc.Handle, "BlogBodyRT", True)
rtitem.URLFont = "Blue Underline"
If mode Then uidoc.Save
Call rtitem.Everything.LinkMatching("", "GeniiKeywords.nsf", "Keyword View", "Term", "Link", |Target="_new"|)
Set uidoc = ws.EditDocument(mode, doc)

So, do you have a common set of keywords you would be able to automatically hyperlink?

Copyright 2005 Genii Software Ltd.