Wenn Du einen Button in ein Rich Text Feld via Script einfügen willst, dann guckst Du hier:
http://www.nsftools.com/tips/NotesTips.htm#richtextbuttonAppend a Button to a Rich Text Field
August 31, 2005 (updated September 2)
If you want to add a button to a Notes Rich Text field using LotusScript, a common technique is to create the button manually ahead of time and save it all by itself in the rich text field of a profile document, and then copy and append the pre-created button whenever it's needed.
While this works well if the label or the underlying code of the button is static, it's not a solution if you need to dynamically change the label or the code at the time you're adding the button.
Below is some code for a class that will allow you to create and append buttons to a NotesRichTextItem, with the ability to specify your own custom LotusScript or @Functions at runtime. It uses DXL to create the button on a temporary document first, and then the new button is copied over. The code should work on Notes 6.5 and higher.
Andreas