I have created an extension description which should call a shell script with the current filename.
I have troubles passing the filename.
Here is the description :
Code: Select all
<inkscape-extension>
<_name>DANAH::GenerateMap</_name>
<id>org.danah.transform.map</id>
<dependency type="executable" location="extensions">danah-apply-transform.s\
h</dependency>
<effect>
<effects-menu>
<submenu _name="DANAH"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions">danah-apply-transform.sh ~/thesis/src/transform/svg2gml.xsl</command>
</script>
</inkscape-extension>
What i want is Inkscape to add the current filename at the end of the command.
How can I make this work ?
Thanks