Hello,
I have a complex task. I have many Word files (for simplicity, let’s say they are homeworks). These were printed and sent to be marked. Now I want to create PDF files with two layers (1st – text converted from Word, 2nd – markings only). I have tried it and it works, but as there are hundreds of pages I need some automation.
Here are my steps:
1. Word document (example.docx) is being converted to PDF file (example.pdf)
2. All pages from PDF file (example.pdf) are being exported as *.tiff files (example-1.tiff, example-2.tiff and so on)
3. Scanned page (scanned-1.tiff) is being aligned to exported file from PDF (example-1.tiff) using Photoshop (Photomerge function)
4. Red color is being selected in scanned file (scanned-1.tiff) using Color Range function as all markings are done in red
5. New file (the same size as exported PDF file – example-1.tiff) is being created with transparent background
6. Selection (from 4th step) is being copied to new file
7. New file is being exported (scanned-1.png) using Save for Web function
8. In PDF file (example.pdf) layer for selected page is being created and file (scanned-1.png) is being imported
Steps 3-8 are repeated for each page.
Can you help me to do it with some sort of scripting?
I have a complex task. I have many Word files (for simplicity, let’s say they are homeworks). These were printed and sent to be marked. Now I want to create PDF files with two layers (1st – text converted from Word, 2nd – markings only). I have tried it and it works, but as there are hundreds of pages I need some automation.
Here are my steps:
1. Word document (example.docx) is being converted to PDF file (example.pdf)
2. All pages from PDF file (example.pdf) are being exported as *.tiff files (example-1.tiff, example-2.tiff and so on)
3. Scanned page (scanned-1.tiff) is being aligned to exported file from PDF (example-1.tiff) using Photoshop (Photomerge function)
4. Red color is being selected in scanned file (scanned-1.tiff) using Color Range function as all markings are done in red
5. New file (the same size as exported PDF file – example-1.tiff) is being created with transparent background
6. Selection (from 4th step) is being copied to new file
7. New file is being exported (scanned-1.png) using Save for Web function
8. In PDF file (example.pdf) layer for selected page is being created and file (scanned-1.png) is being imported
Steps 3-8 are repeated for each page.
Can you help me to do it with some sort of scripting?