I am working on a project in which I hope to add a large number of photographs to a document. The document will essentially contain a photograph on each page and each photograph will have a caption. I'm looking to make the process of building the document as efficient as I can. Is it possible to write a macro that essentially processes an entire folder of photographs and puts each photo in the folder on a new page, resizes it so that it fits comfortably on the page, and adds a placeholder caption to that photograph? If I could do that it would save me a great deal of manual labour. Then, I can simply replace each placeholder caption with a real one, then add my own comments, where warranted, below the caption.
Although I have programming skills and have worked with several programming languages, including Basic and Java, I've never had much occasion to work with macros. I suppose I know the main concepts but that's about it. If someone could tell me that it's possible to do what I'm proposing and maybe write a bit of pseudocode to give me an idea how it would look - or point me to an existing example - that would be VERY helpful!
Even a macro that simply added one picture with a placeholder caption to a single page would be helpful if it isn't possible (or easy) to do an entire folder in one go.