Can you call the Create Attachment Dialogbox in LotusScript

I am trying to call the Create Attachment dialog box using LotusScript but all I can find is the @Command( [EditInsertFileAttachment]) command in Formula language. I tried to put the @Command into a hidden agent and call it from my script, but it doesn’t do anything.

I also tried writing everything in formula language, but it gives that prompt to the user “This operation cannot be undon. Do you wish to proceed?” The only way I have found around that is to use LotusScript.

Does anyone have a suggestion or know of a way to duplicate the @Command([EditInsertFileAttachment]) in script?

Thanks in advance…

Subject: notesRichTextItem.EmbedObject()

If you would have looked in the help file under “EditInsertFileAttachment” you would have found the following information:

Language cross-reference

EmbedObject method of LotusScript NotesRichTextItem class

embedObject method of Java RichTextItem class

What is up with all the posts lately where the posters ask for the most trivial things, not even bothering to look in the help or turn on the debugger? I am positive to new programmers starting to write code for Notes/Domino, but some seem to not even be programmers, no problem solving abilities at all…