Lee Braiden wrote:
Is there any reason why Inkscape remains CD'd to the startup directory when calling extensions, or would it be possible to set the working directory to the one a file is being saved in? Otherwise, I need some other way to figure out were to save additional files besides the extension's main output file.
Uhm, we could do that, but we'd have to make a directory in tmp. Really, a program shouldn't assume that it can write anywhere, but usually temporary files in tmp works out. Probably, if you want a scratch directory you should use "mktemp -d" to create a unique directory as a scratch pad. I'm not sure which language you're using, but it seems that most have a function for that.
I think that this would be a lot of overhead for doing with every script, so it would seem like only the scripts that need it should do it themselves?
--Ted