How can use a bash script as tracker add-on?

I want to add some tracker add-ons for image manipulation using imamagick. Something simple like rotate or flip a image.

Any idea to do that?

There are tracker addons “TrackerScript” and “TARTS” for this, also maybe useful for you “ZooKeeper”, “Aardwolf”, “Homer”, “PickleLauncher”, “Starter” (all of them are open source).

[code]#include <stdio.h>

int main(void)
{
system("/boot/home/Desktop/flip.sh");
return 0;
} [/code]

I can compile this, and it does his work then i select an image before, but how can i declarate this file as tracker add-on?