Page 1 of 1

Removing Spotlight Comments

PostPosted: Sat May 26, 2012 3:02 am
by sheader
Hey Group...

I use Hazel quite a lot and I am exploing new ways to improve my workflows...

Once thing I am perplexed with is the removing of spotlight comments...

Any ideas how I can do this in Hazel - or will it require some AppleScript voodoo??

Thanks

Re: Removing Spotlight Comments

PostPosted: Tue May 29, 2012 3:23 am
by icaroferre
Hey mate,

Try this, it should work:

Image


I'm not an expert on Applescript, but it should work :D

PS: I'd guess that you should have posted this on the Support area since it's a question and etc, you know.

Re: Removing Spotlight Comments

PostPosted: Mon Jun 04, 2012 5:23 pm
by Pe8er
You need to remove quotes around theFile — it's a variable. It should look like this:

Code: Select all
tell application "Finder" to set comment of file theFile to missing value