Extension specific triggers

Hi,

It would be great to have a trigger modifier based on Finder item extensions.

For example: Trigger this only for PDF files.