This is useful. I had wondered how to use it. But how do I find all the verbs? E.g. you use EditInvertInAllLayers. I can't find this on the UI but I can find EditDelete Where are all these defined ?
On 2/26/2017 10:11 AM, Dmitry Zhulanov wrote:
Hi, Maren
I put short manual to main-linexact.cpp file, but the command line option was changed to --xverbs=
- Format of xverbs.yaml
- using: $ inkscape --xverbs=xverbs.yaml
- verbose: yes # only "verbose: yes" enable logging
- run:
- # open document to process
- xverb-id: XFileOpen, gfx_sources/loading_screen/sandclock_atlas.svg
- xverb-id: XUndoLabel, fresh_document # set label for UndoToLabel
xverb works
- # note: if something wrong with undo labels use verb EditUndo
instead of XUndoLabel and UndoToLabel at all
- # select element to handle
- xverb-id: XSelectElement, top_sand
- # verbs
- verb-id: EditInvertInAllLayers
- verb-id: EditDelete
- verb-id: FitCanvasToDrawing
- # save element to separated svg document
- xverb-id: XFileSaveAs,
output/thegame/linux/data/gfx/loading_screen/top_sand.svg
- # also save png preview
- xverb-id: XFileExportPNG,
output/thegame/linux/data/gfx_preview/loading_screen/top_sand.png
- # return to the fresh_state of document
- xverb-id: UndoToLabel, fresh_document
- # do any other handling
- # inkscape have a lot of useful verbs
- verb-id: FileQuit
Best regards, Dmitry Zhulanov
27.01.2017 01:01, Maren Hachmann пишет:
Am 26.01.2017 um 18:35 schrieb alvinpenner:
thanks for the fast response! I'll check out both of these options. I try to sort of keep up with what is happening, but both of these slipped by me unnoticed.
- If you find out how the XVerbs work (maybe it's really simple?), can
you post a step-by-step? It would be good to have some documentation for it for users.
Regards, Maren
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/Is-it-possible-to-specify-the-filetype-or-f... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7998 / Virus Database: 4756/14022 - Release Date: 02/25/17