tcepsa: (Computation Suspended)
2008-12-31 05:22 pm

Gimp Scripting

I'm trying to write a Gimp script that will perform an operation on all of the files in a given directory, but I can't figure out how to get a listing of all the files in a given directory from within Gimp. What little documentation I have been able to find makes reference to an 'open-dir-stream' function, but it doesn't look like Gimp 2.6's ScriptFu includes that (at least it doesn't in the console; does it use a different interpreter for the console vs. the actual ScriptFu engine?)

Suggestions on what I ought to be looking at or whether this is even possible?