LN Native Solution - convert screenshot picture to an attachment - can it be done? (R5)

Hello

My goal is to check for a screenshot and convert that screenshot into an attachment, and save it to hard-disk, after or before a mail is sended.

Can this be done? I need a “native” lotusscript solution, without additional software ( R5.x version )

Your thoughts are greatly appreciated.

(Forgive my English)

Subject: LN Native Solution - convert screenshot picture to an attachment - can it be done? (R5)

In principle it can be done.

You will need to invoke some functions from a (Windows)sytem DLL. This implies that the OS you are using must be Windows. I don’t know what function(s) to call, since I do not have a summary of functions offered by these DLL’s. The major problem is a) it is hard to find a summary of available functions, b) it is sometimes hard to translate C-function parameters into the correct LS declarations.

I have seen many samples of LS that call OS-functions (e.g. NEMPutFile or NEMGetFile). Have look there and it may put you on the right track.

You could also have a look at the Notes/Domino 4&5 forum. There you will find more samples of that kind of functions. You might search for “Declare Function” or “Declare Sub” to find those functions.

PS: there is nothing to forgive with your English.