Provide scriptable method of saving files
Bug #361237 reported by
Aurium
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
The FileSaveAs verb now is opening the "Save As" dialog. It is not really useful for scripting with inkscape.
I propose to use the ":" as a separator for verbs that accept (or may accept) parameters, as the FileSaveAs.
We may use a command line like that:
inkscape -z --select=boll --select=rect --verb=
The current FileSaveAs may be called as DialogFileSaveAs.
And, when we don't set the file name parameter, the FileSaveAs may call the DialogFileSaveAs.
It will be useful for some others verbs and will allow new ones like "SetTransform". ;-)
tags: | added: cli |
Changed in inkscape: | |
importance: | Undecided → Wishlist |
Changed in inkscape: | |
status: | New → Confirmed |
tags: | added: saving |
To post a comment you must log in.
The problem is not FileSaveAs, but calling verbs from the command line. This is just awful.
Verbs are not designed to take parameters, by the way.
The proper solution is providing appropriate methods in the D-Bus scripting API that was written during this year's GSoC.