Scripting/actions?

After I’ve found files I can preview them. If I want to do something else with them, transform them to a different format, export to a zip file, etc. How do I accomplish that?

Can I run a batch file, shell script, python program against my selection/search result?