Trying to test for file name length

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Trying to test for file name length Tue Apr 14, 2015 10:51 am • by vineus
Hi,

I am trying to create a rule to check the file name length in a folder.

I need filenames to be 17 character - . (dot) - extension.

Example:
This_File_Name_00.pdf

Any thoughts on how to do this with Hazel

I do understand Applescript a little bit.

Thanks
vineus
 
Posts: 1
Joined: Tue Apr 14, 2015 10:37 am

Re: Trying to test for file name length Tue Apr 14, 2015 11:21 am • by Mr_Noodle
You would have to use some sort of scripting. Search the in-app help for "AppleScript" to find out how you can pass a value back to Hazel (or do the whole check within the script).
Mr_Noodle
Site Admin
 
Posts: 11196
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion