Page 1 of 1

Opening selected files in external viewer

Posted: 2007-06-12, 11:49 UTC
by now
It seems that when running the external viewer only the file under the cursor will be sent to the viewer. Is there any way of getting this behavior, or is it as I suspect that this can’t currently be done?

Posted: 2007-06-12, 11:59 UTC
by m^2

Posted: 2007-06-12, 12:52 UTC
by Alextp
To pass several files to viewer, use %L parameter for bar's button.

Posted: 2007-06-12, 13:00 UTC
by Lefteous
%P%S can be used as parameter if the editor only supports file loading through command-line.

Posted: 2007-06-13, 11:47 UTC
by now
I must have been unclear. When setting associations for external viewer (Configuration→Edit/View→Associations…) only one file will be passed to the external viewer. Expandos like %L or %P%S don’t get expanded here. In fact, a totally different scheme is used here:

ext=program ^.ext

(from wincmd.ini)

Posted: 2007-06-13, 17:56 UTC
by ghisler(Author)
Indeed such parameters cannot be used with external viewers, sorry.