Convert shell script to Hazel

Hi - I'm wondering how to modify this Automator shell script to work in Hazel:
I'm assuming that I need to replace f with $1, but not sure what to do with the "$f"
Thanks!
- Code: Select all
while read f ; do
chflags hidden "$f"
done
I'm assuming that I need to replace f with $1, but not sure what to do with the "$f"
Thanks!