I can get attachments using the EmbeddedObjects property, but not graphics in a message. I'm using this code to test to see what is embedded:
If Isarray(rtItem.EmbeddedObjects) Then Forall Object In RTItem.EmbeddedObjects Select Case Object.Type Case EMBED_ATTACHMENT: Messagebox "Attachment" Case EMBED_OBJECT: Messagebox "Embedded" End Select End Forall End If
img src), the "object" is NOT and OLE object, and, therefore, is not accessible through the code you are calling.
The code you are writing is correct for handling any file attachment or OLE file (i.e., [Create] menu --> [Object]), but will not work if the "object" you are looking at is enclosed in HTML.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
Add some code to go directly to the source of the referenced file and save it to your required location, along with any other EmbeddedObjects in the document.
Dig Deeper on LotusScript
Related Q&A from Mathew Newman
SearchDomino.com Sametime administration expert Mathew Newman explains-step-by-step how to enable communication between multiple Lotus Sametime ...continue reading
If Lotus Sametime users on different "home" servers cannot see each other online, you may need to change your Sametime server awareness by creating ...continue reading
SearchDomino.com's Sametime administration expert Mathew Newman offers advice to a Lotus Notes administrator looking for resources for deploying ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.