How? set items to every file of folder whose kind... AND whose size...

tell application "Finder" to set these_items to (every file of layersRenameFolder whose kind contains "PDF")

I want to narrow the selection so only PDF files whose size > 0 gets selected. Thus eliminating 0k files getting processed.

Hi,

you gave the answer yourself in the headline


tell application "Finder" to set these_items to (every file of layersRenameFolder whose kind contains "PDF" and size > 0)

Stefan, Thank you!