Nested Rules and different names for a same pattern

Hi,
i've following problem and need some advice.
Sometimes PDFPen ocr'ed the same scanned document in different ways. Ecspecially a date is difficult to match.
So i tried a nested rule to match a date like dd.mm.yyyy and e. g. dd mm.yyyy and so on ...
Here is a sample of my rule.
It works the patterns have different names - OrderDate and OrderDate 1 to 5. Its not possible to give them the same name!
Can anyone please help me to rename the PDF with the matched one of the matched patterns.
Thanks in advance.
Thomas
i've following problem and need some advice.
Sometimes PDFPen ocr'ed the same scanned document in different ways. Ecspecially a date is difficult to match.
So i tried a nested rule to match a date like dd.mm.yyyy and e. g. dd mm.yyyy and so on ...
Here is a sample of my rule.
- Code: Select all
If [all] of the following conditions are met
[Kind] [is] [PDF]
[Contents] [contain] ORDER
[Contents] [contain] Company Name
If [any] of the following conditions are met for [the current file or folder]
[Contents] [contain match] OrderDate
[Contents] [contain match] OrderDate 1
[Contents] [contain match] OrderDate 2
[Contents] [contain match] OrderDate 3
[Contents] [contain match] OrderDate 4
[Contents] [contain match] OrderDate 5
[Contents] [contain match] OrderNr
[Rename] with pattern ([OrderDate]) Order OrderNr.[extension]
It works the patterns have different names - OrderDate and OrderDate 1 to 5. Its not possible to give them the same name!
Can anyone please help me to rename the PDF with the matched one of the matched patterns.
Thanks in advance.
Thomas