Hi there,
I have an application that run in the notes client, and I’m trying to run a script that will embed a thumbnail image in the document.
If I use the embedobject method, the thumbnail gets embedded, but doesn’t display within the document; and I’m assuming this is because it’s an OLE object. If I run a script that uses the import method on the current uidoc, the thumbnail shows up the way I want it to.
I’m happy with the way the import method embeds the thumbnail, but the problem is that I want to do it on a document that’s not the current document – I want to do it on a different document.
I’m still learning lotus script, and up til now I’ve only done web programming; so all the NotesUI stuff is new to me. From what I can tell it looks like you can only access the current document.
So my question is two fold:
-
Is there any way to get a jpeg to display within the document if it’s an OLE embedded object?
-
Is there any way to use the import method on a document other than the current workspace document?
And if the answer to both of those questions is no, any suggestions on how to accomplish my goal?
Currently it goes through a forall loop of Keys and uses GetDocumentByKey to select the next document to embed the thumbnail on using the EmbedObject method
I’ve noticed alot of posts in the 5.X and 6 forums on this subject, and can’t seem to find a conclusive answer.
Thanks in advance,
Scott