Auto Hide Extension

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

Moderator: Mr_Noodle

Auto Hide Extension Wed Jul 03, 2013 9:33 pm • by sawbones
I just started using Hazel to rename bills that I download. I have set up date matching, so the file is renamed with a date and a statement name.

Unfortunately, if I don't include 'extension' in the rename, the pdf appears as a file that can be opened only by TextEdit. If I do include 'extension' in the rename, I have the extension that I don't want at the end of the filename.

I have Finder preferences set to NOT show the extension.

I could go into info for each file, and then check 'hide extension,' but that kind of defeats the purpose of using Hazel.

What simple thing am I missing, please?
sawbones
 
Posts: 21
Joined: Wed Jul 03, 2013 9:29 pm

Re: Auto Hide Extension Wed Jul 03, 2013 9:42 pm • by sawbones
What I should have said and didn't, is that I started with a pdf with an extension, and would like to rename the file without adding an extension (but still have it recognized as a pdf).

Is this possible? Is there a way to have Hazel hide the extension?

Thanks!
sawbones
 
Posts: 21
Joined: Wed Jul 03, 2013 9:29 pm

Re: Auto Hide Extension Fri Jul 05, 2013 3:19 pm • by Mr_Noodle
You'll need to use Automator or AppleScript to hide the extension as there's no built-in action for that.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Auto Hide Extension Fri Jul 05, 2013 3:32 pm • by sawbones
Thanks!

I came up with a script for that.
sawbones
 
Posts: 21
Joined: Wed Jul 03, 2013 9:29 pm


Return to Support