AppleScript help: setting video kind with Hazel

Been trying to figure out how to set up AppleScript & Hazel to set the video kind of movie files to "TV Show". I found this script which should do the trick, but being a noob in AppleScript I'm not sure how to implement it in Hazel.
I'm pretty sure the (add input) needs to be removed as it probably has to do with a dialog window and manually selecting files. Any tips on how to do this with Hazel, as either a standalone or embedded script?
- Code: Select all
tell application "iTunes"
set newAddition to (add input)
tell newAddition to set video kind to TV show
end tell
I'm pretty sure the (add input) needs to be removed as it probably has to do with a dialog window and manually selecting files. Any tips on how to do this with Hazel, as either a standalone or embedded script?