I have multiple password encrypted PDF files in a folder e.g.
ECS12345A_2022.PDF
ECS12345B_2022.PDF
ECS12345C_2022.PDF
ECS12345D_2022.PDF
and so on…
I would like to use part of the file name e.g “12345A” as the password for the PDF files.
So for ECS12345A_2022.PDF, the password will be 12345A, for ECS12345B_2022.PDF, the password will be 12345B.
Im currently using For each file to open the PDF and I don’t know what to do next.