I'm not sure how difficult this is to achieve, but if anyone can help with a script to achieve the following I would be eternally grateful:
-Folder 1 (source folder) receives pdf files. If a pdf is related to a client it would have the client's code somewhere in the pdf's content.
-Folder 2 (destination folder) would be a client's specific folder elsewhere in the system. I would insert the client code into the Comments metadata of this folder.
A script that can transfer any files from Folder 1 to Folder 2 based on the client code in the pdf content matching the client code in the Comments metadata of Folder 2 is what I want to achieve (and deleting the original pdf in Folder 1). I want to be able to execute this script with Task Scheduler or some other automation...