Page 1 of 1

Renaming an .ofx file based upon file content doesn't work

PostPosted: Thu Jun 28, 2012 8:19 pm
by JEndahl
I'm trying to use Hazel to rename an .ofx file downloaded from my bank. I want Hazel to look at the content and find the tag '<ACCTTYPE>CHECKING' and rename the file 'Checking {current date}.ofx' from the current name of 'money.ofx'. The content command seems to work fine for .csv and .pdf, but does not match .ofx files. If I click on the "rule match" icon in Hazel, I do not see any type of field for file contents. Is Hazel capable of viewing the content of an .ofx file? I *can* search for this tag successfully using Spotlight, so I know the condition is correct.

Any suggestions??

Thanks.

--> John

Re: Renaming an .ofx file based upon file content doesn't wo

PostPosted: Fri Jun 29, 2012 2:55 pm
by Mr_Noodle
I suggest you email me with the file, your rule and maybe a screenshot of your Spotlight search. Click the Contact Support button in the Info section.

Re: Renaming an .ofx file based upon file content doesn't wo

PostPosted: Fri Jun 29, 2012 4:07 pm
by JEndahl
Thanks, truncated file and screenshots on their way.

--> John

Re: Renaming an .ofx file based upon file content doesn't wo

PostPosted: Fri Jun 29, 2012 5:14 pm
by JEndahl
Mr_Noodle took a look at my rule, and found an error.

I originally had a rule "Name contains .ofx" Well, .ofx is a suffix, not part of the name. So, I changed that rule to read "Extension is ofx" (note, no leading period) and the rules processed just fine.

Thanks for the quick support!

--> John