archive and rename xlsx files

I use a Hazel rule to archive and rename files with a pseudorandom name before uploading and sending someone a link. This is part of a workflow for improved security in sending files inspired by Merlin Mann.
The Hazel rule does not perform the archive and rename action on xlsx files. I understand that these files do not match because one of my conditions is "Kind is not archive", and xlsx files are essentially structured zip files.
My question is: how can I modify the rule so that xlsx files are processed just like other files: zipped into an archive with a pseudorandom file name?
Here is the current rule:
This works great for most files, like .txt, .pdf, etc. -- but does not work for .xlsx files. Any assistance you can offer is appreciated.
Thank you,
Daniel Mann
The Hazel rule does not perform the archive and rename action on xlsx files. I understand that these files do not match because one of my conditions is "Kind is not archive", and xlsx files are essentially structured zip files.
My question is: how can I modify the rule so that xlsx files are processed just like other files: zipped into an archive with a pseudorandom file name?
Here is the current rule:
- If all of the following conditions are met
- Date Added is in the last 1 minute
- Kind is not Archive
- Kind is not Folder
- Do the following:
- Archive file
- Rename file with pattern: [custom date/time pattern][extension]
This works great for most files, like .txt, .pdf, etc. -- but does not work for .xlsx files. Any assistance you can offer is appreciated.
Thank you,
Daniel Mann