#7096
CLKurutz
Participant

Thank you for the ideas. I actually tried these and could not get it working. But, I found a way that does work. The problem is that it copies in the graphic as well as ML>. If I paste in Word, it actually shows HTML> and the graphic. I have tried many different ways to write the code but still get the ML> in the message area of GW. Here is the code:

Utilities.CopyHTMLToClipboard(“HTML<IMG SRC=D:/CUSTOMVIEWS/ACTIVITYROOM/REGULARACTIVITY.JPG>”)

I use the following code to paste:

call groupwise.focusset(fcsMessage, “”)
GroupWise.EditPaste

Is there any way to paste without getting the words?

Thanks again for all your help.

quote:


Originally posted by Support 1:
Given an active HTML message view, two suggestions come to mind:

Some suggestions…

1) Copy the html contents into clipboard and later paste into message

Utilities.CopyHTMLToClipboard("<HTML><BODY background=C:imagesrosebouquetbg.jpg></BODY></HTML>")
call groupwise.focusset(fcsMessage, "")
GroupWise.EditPaste

2) Use the HTMLDom to update the message

Utilities.IHTMLDocumentFromView(oDocument)

See the Developers Guide for more details on this approach.

Regards,

Advansys Support