Inkview: Option to load all files from a folder

Bug #1689088 reported by Patrick Storz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
Patrick Storz

Bug Description

It would be nice if Inkview could easily be told to open all SVG files from a specific folder as a slide-show.

Two possibilities (can be implemented side-by-side):
1) Allow a folder to be specified as input and load all SVG files from that folder
2) If only a single file is specified as input also include other SVG files from that flder in the slide-show.

This would make Inkview more of a general (and convenient at that!) SVG viewer that can be used more easily.

Revision history for this message
Patrick Storz (ede123) wrote :

Current workaround:

One can use the shell to do the work by using "inkview folder/*.svg" (works on Windows, too)

tags: added: inkview
jazzynico (jazzynico)
tags: added: opening ui
Changed in inkscape:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Patrick Storz (ede123) wrote :
Changed in inkscape:
status: Confirmed → Fix Committed
assignee: nobody → Eduard Braun (eduard-braun2)
jazzynico (jazzynico)
Changed in inkscape:
milestone: none → 0.93
Revision history for this message
carmen fierro (cfierrob) wrote :

"Current workaround: One can use the shell to do the work by using "inkview folder/*.svg" (works on Windows, too)"

Well, I cannot! Iam running inkscape 0.92.2 under windows 7.
Tried it many ways, both directly AND from a batch file, and I "seem" to have located the problem:
-running this simple batch file, with full echo:

echo on
set inkview="%ProgramFiles%\Inkscape\inkview.exe"
echo %inkview%
cd /D H:\MyPath
echo %CD%
START /wait %inkview% "%CD%\*.svg"

I get an alarm with the very last line:

File "H:\MyPath\*.svg" not found,

-But changing said line to

START /wait %inkview% "%CD%\MyFile.svg"

opens MyFile.svg in INKSCAPE, INSTEAD OF INKVIEW.
I may mention, by the way, that I can and do open .svg files in inkview ... through the explorer context menu, and one by one...
Am I doing something wrong?
Thanks!

Revision history for this message
Patrick Storz (ede123) wrote :

The problem is your command line:
The first quoted argument to the START command is the "title" to use for the started command window, so in your case
- %inkview% will be interpreted as the title
- "%CD%\MyFile.svg" will be interpreted as the command to run
  (which obviously fails and which is the error you're seeing)

Simply use
START "" /wait %inkview% "%CD%\MyFile.svg"

Max Gaukler (mgmax)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.