I read a few lessons about creating drops with an apple script or using an automaton. First, I need to know if these drops only work with the drag n drop file action or if you can perform the action in the current directory. If the last answer is yes, how can I do this with a gun? This was a common question.
In my case. I need a droplet in the finder toolbar when I click on it to search for all files with specific extensions and go to the trash. I try using automator, but I can not stop the action to select files in the current directory, I just found a common find. Since I can be in any other possible directory, I need to know how to do this. It’s not a problem writing some applications, I don’t know, but I can find out :)
source
share