Hi,I need to import 80 pdf files to the notes database, craete a document for each file and insert the pdf into rich text field. Any idea…
Thanks in advance.
Hi,I need to import 80 pdf files to the notes database, craete a document for each file and insert the pdf into rich text field. Any idea…
Thanks in advance.
Subject: pdf into notes
Not too difficult with LotusScript. Use File$ to loop through a directory with the PDF documents, create a document for each pass through the loop, and use the EmbedObject method of the NotesRichTextItem class to attach the files as you go.
Subject: RE: pdf into notes
Thanks! But I need to pull a content of each pdf file into notes document not the pdf file.Thanks again for your help!
Subject: RE: pdf into notes
You can experiment with OLE control of Acrobat Reader to select text, copy to the clipboard, and then paste into Notes.I’ve been doing these things to create PDFs, but haven’t read from them yet.
You’ll probably need the Adobe Acrobat SDK to get the job done right.
Collin
Subject: RE: pdf into notes
Hi Collin, I use OLE extensively to create XLS files from Notes, and automating PDF creation would be great.
Can you give me an example (snippet) of code that does something simple in Acrobat just to get me started.
And when you need certain functions defined what do you use as reference? (for example, in Excel you can record a macro to get a ‘general’ idea of the code, and by using the “Definition” option constants are defined to be used in OLE code. Is there a similar reference for Acrobat?
Thanks
ST