I want to dynamically create a Word document with a Keyboard Maestro macro. I need it to create a document comprising entirely of images. I want to state the root directory and for it to find all images (png format) and to create a Word document. Is that possible?
I currently have a macro that finds files in a root directory, then builds up an HTML string, which is then written to a file. I can then open that file in a browser and manually copy/paste into Word but there are some oddities that occur. I'd really love it if I could get it to skip that middle step out entirely.
Does anyone have an example of this type of things working that I could adapt?
First, I need to know if you have MS Word. I don't have it, so what I would do is create a Pages document, import all the images, and then export it to Word format. That should work fine.
Second, you need to clarify "I want to state the root directory." Does that mean "I want it to START AT the root directory [and traverse all subdirectories]"?
Third, you need to clarify what you mean by "image files." Is there a specific set of type of image files (eg, JPEG, TIFF, etc.) I think you need to clarify what kinds of image files you want.
Fourth, what is the maximum number of image files you want to combine? If it is small, I may be able to combine them without using Keyboard Maestro.