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

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

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
JEndahl
 
Posts: 4
Joined: Tue Jun 19, 2012 8:56 pm

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.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thanks, truncated file and screenshots on their way.

--> John
JEndahl
 
Posts: 4
Joined: Tue Jun 19, 2012 8:56 pm

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
JEndahl
 
Posts: 4
Joined: Tue Jun 19, 2012 8:56 pm


Return to Support