Recipe: Hazel hides file extensions

From your noodle to other noodles. Talk about ways to get the most from Hazel. Even exchange recipes for the cool rules you've thought up. DO NOT POST YOUR QUESTIONS HERE.

Moderators: Mr_Noodle, Moderators

Recipe: Hazel hides file extensions Fri Feb 09, 2007 8:58 pm • by IDontDoWindows
I save webpages all the time. My browser always includes the file extension and I hate that. So I have Hazel run a script when moving the saved files. The script hides the extensions.

Code: Select all
my hazelProcessFile(zaphod)

on hazelProcessFile(zaphod)
      tell application "Finder"
         set extension hidden of zaphod to true
      end tell
   on error
      say "oops"
   end try
end hazelProcessFile
Posts: 57
Joined: Sun Jan 07, 2007 5:43 am

Return to Tips & Tricks - DO NOT POST QUESTIONS