Page 1 of 1

Recipe: Hazel hides file extensions

PostPosted: 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