Hi! I'm making an Inkscape extension that does this:
1-. Save a copy of the current document in a folder as .ai with all objects converted into curves (leaving the current document with text, spirals, polygons...)
2-. Take the measures of the bounding box that appears when I select all objects and save it to a file.
3-. Call an executable in the system path.
I'm using Inkscape nightly build.