Hello. I've been using inkscape for a while, and am wondering if there's a way to automate a particular task I do all the time.
One of my uses of Inkscape is to generate thumbnail images for YouTube video series. My current workflow is to create a master template for each series, and then, for each episode, change one text field - the episode number - and export the image to a PNG with the same number in the file name.
Is there any way to easily script this, so I can just take the master template, define the numerical range, and have Inkscape generate a whole batch of PNG files? I don't need separate SVGs for each episode, just the PNGs.
It doesn't matter to me whether this would be an external, command-line tool that calls Inkscape, or some sort of extension within Inkscape itself. I'm pretty language agnostic, so what language is used to do this doesn't much matter, though Python seems the most likely candidate these days.
If someone can point me in the right direction for how to implement something like this (or, even better, if there's any sample code that does similar things that I can modify), I'd appreciate it greatly.
ETA: Or perhaps this sort of capability already exists in Inkscape or a third-party tool, in which case a pointer to that would be even better.
Meanwhile, I found a Inkscape Extension that can be made to do what I want, but it's broken under 1.0/Python 3 :( I will post a separate thread about it.
Hello. I've been using inkscape for a while, and am wondering if there's a way to automate a particular task I do all the time.
One of my uses of Inkscape is to generate thumbnail images for YouTube video series. My current workflow is to create a master template for each series, and then, for each episode, change one text field - the episode number - and export the image to a PNG with the same number in the file name.
Is there any way to easily script this, so I can just take the master template, define the numerical range, and have Inkscape generate a whole batch of PNG files? I don't need separate SVGs for each episode, just the PNGs.
It doesn't matter to me whether this would be an external, command-line tool that calls Inkscape, or some sort of extension within Inkscape itself. I'm pretty language agnostic, so what language is used to do this doesn't much matter, though Python seems the most likely candidate these days.
If someone can point me in the right direction for how to implement something like this (or, even better, if there's any sample code that does similar things that I can modify), I'd appreciate it greatly.
ETA: Or perhaps this sort of capability already exists in Inkscape or a third-party tool, in which case a pointer to that would be even better.
Hi. Perhaps research and try out Task Automation Software. Here is a list of potential freeware (untested by me).
https://www.snapfiles.com/freeware/system/fwauto.html
Also, look below:
http://www.spacetornado.com/DoItAgain/download.php
The above can be run on Windows 10 as Administrator.
Four more to look into:
https://www.autohotkey.com/
https://sourceforge.net/projects/macronize/reviews
https://www.turnssoft.com/mini-mouse-macro.html
https://portableapps.com/apps/utilities/tinytask_portable
See also ...
https://www.makeuseof.com/tag/4-boring-tasks-can-automate-windows-task-scheduler/
Wow, thanks. Will definitely check it out.
Meanwhile, I found a Inkscape Extension that can be made to do what I want, but it's broken under 1.0/Python 3 :( I will post a separate thread about it.