Page 1 of 1

3.1 Date Matching

PostPosted: Sun Jun 23, 2013 9:38 am
by dewab
The new date matching feature in 3.1 is great. I'm on a holy crusade to eliminate multiple custom AppleScripts, and it looks like that will help greatly.

That said, is there a mechanism in the feature to match an instance of the date later in the document? For example, I have credit card statements where the first date instance is the due date, whereas I file based on statement date, which is the second (or sometimes third) date instance.

Thanks!

Re: 3.1 Date Matching

PostPosted: Mon Jun 24, 2013 7:49 am
by pprazzi
You could try matching it together with some other word in your text

e.g.
...
due date: 2013-08-30
...
invoice date: 2013-06-24
...

then match for something like "invoice date: yyyy-mm-dd"

Re: 3.1 Date Matching

PostPosted: Mon Jun 24, 2013 10:30 am
by dewab
Thanks for the suggestion! I'm trying to do that in documents where it's clearly delineated (it leads to more accuracy in date selection, overall), however I have several bills that put the due/statement dates in columns and boxes by themselves with no accompanying text. I can deal with this pretty easily with shell scripts, but am trying to get away from having to write (modify) a shell script to cope with each bill type.

Re: 3.1 Date Matching

PostPosted: Mon Jun 24, 2013 1:25 pm
by Mr_Noodle
Try running the file through 'mdimport -d2' to see the output text. There you can get more of a sense of whether the text which is one the same line visually is actually that way in the text stream.

Re: 3.1 Date Matching

PostPosted: Mon Jul 01, 2013 1:35 pm
by dewab
I see that you added date occurance to 3.1.2. Thank you very much!