External Actions
The basic idea is to have a tool that reads a description of a command line together with a description of the allowed values of the arguments that then either generates the action classes on the fly or write files for later use by Phatch. The description can be a simple text file created by hand but could also be created by a dialog inside Phatch. The syntax of the description should be executable Python. Action descriptons should be converted to action classes on the fly. A proof of concept implementation that creates action files exists in the Phatch forum: Forum » Developpers / Development » Non-Python Actions
Blueprint information
Related branches
Related bugs
Sprints
Whiteboard
Thanks for filing the blueprint and your coding efforts. Originally I had something else planned as the main focus for Phatch 0.2 (life preview), but maybe I'll have a look at non-python actions first.
I'd love to see this to allow e.g. RAW conversion (see ufraw ( http://
The proof of concept script at http://
So if you have a specific excutable that you want to run you can either use that script or just write your own action using one generated as an example. It isn't really that difficult. One good reason for doing it by hand is that you might find things that would need to be provided in a built in external action feature.
Note from Stani:
Phatch will have an open architecture with multiple backends. There are two kinds:
- command line tools (imagemagick, gimp, blender, ...)
- libraries (PIL, GEGL, ...)