What I need to do is to create a hotspot link and attached it inside a rich text. I already found a way to implement this by following this link:
http://ozinisle.blogspot.com/2010/11/lotusscript-code-to-append-hotspot-to.html
Now I want the created hotspot to be inside or in the middle of an existing rich text field. If you checked the link it creates a document with a body rich text for the hotspot, I can't identify inserting it inside tried using nav and range but it just gets the plain text, I also want to get the hotspot link. Thanks.
Here is a sample codes (where we append the rich text, but I want to insert it inside - I found a way but it's confusing also using DXL) is there a easy way to solve this:
If rtnav.FindFirstString("<Reply: From>", RT_FIND_CASEINSENSITIVE) Then
' Get the <Reply:From> string
Call rtrange.SetBegin(rtnav)
Call rtrange.SetEnd(rtnav)
' Remove the <Reply:From> string
Call rtrange.Remove()
' Go to the next text range after the <Reply:From> string
Call rtrange.SetBegin(rtnav)
Call rtrange.SetEnd(rtnav)
' Insert the hotspot in the right place
Call rtitem.BeginInsert(rtrange, False)
' ** I WANT TO INSERT HERE THE HOTSPOT, BUT I CAN'T FIGURE IT OUT **
Call rtitem.EndInsert
Call rtitem.AppendRTItem(dxlbody)
End If