Hi there
I thought I know the product quite well, but this one is challenging me:
In the workflow, where I have a tif image as starting point, I'd like to extract a date which I can do by a script. Unfortunately the script requires a searchable pdf file, as it's using the PDFTEXT variable as input to extract the date. In the end, the date should be used as part of the file name.
But the creation of the searchable pdf is done on the very last step, so I cannot have the script module before renaming it. Does it mean that I have to create the pdf temporarily and use another hot folder workflow to run the script module for renaming?
I am actually looking for a way to get it done in one worklfow, but cannot see how to get there.
Unfortunately, the regex I use in the script does not work in Smart OCR module. Probably to long?
(((0?[1-9]|[12]\d|3[01])([\-\.\/])\s?((0?[1-9]|1[0-2])([\-\.\/])\s?(19|2\d)?\d{2}))|(((0?[1-9]|[12]\d|3[01])([\-\.\/])\s?((Jan|January)|(Feb|February)|(Mar|March)|(Apr|April)|Mai|(Jun|June)|(Jul|July)|(Aug|August)|(Sep|September)|(Oct|October)|(Nov|November)|(Dec|December))([\-\.\/])?\s?)(19|2\d)?\d{2}))
Any hint, how to get there in a single worklfow would be much appreciated.
Best regards, Matthias