With AutoHotkey (AHK) script i got a more or less capable solution.Joe Heiland from Avantstar Inc: Our Quick View Plus Professional Edition product was introduced starting with v11, and it is the only product that has command line capability. Pricing for Quick View Plus 13 Professional Edition starts out at a configuration for up to 5 individual, non-concurrent users for $495 USD (or $570 USD if you wish to include Support & Maintenance for the first year). Support & Maintenance for year 2 for the 5 users would be $99 USD total.
- The first invokation does not display anything, hence the script must be called again. This is because the viewer itslelf must run in the background.
- There are circumstances, when the file is not displayed, but a dialog asks for a file name.
- Just Quit this with Cancel and try again.
Code: Select all
/* ------------------------------------------------------------------------
FILE D:\System_ddd\scripts\Run-qvp.ahk
PURPOSE Run Quick View Plus Standard from a command in Xplorer²
USAGE Called in Xplorer² by a command like this:
> AutoHotkey.exe D:\System_ddd\scripts\Run-qvp.ahk "$F"
or (for compiled script)
> D:\System_ddd\scripts\Run-qvp.exe "$F"
RUNS H:\Utilities\QucikView\Program\qvp32.exe
INCLUDES -
REMARKS • QVP Standard has no official capability to be run from command line
• It turns out that the task is quit tricky - sometimes the qvp
dialog must be cancelled and the script must be started again.
• Script fails for filenames with more than 1 blank between name parts
• QVP is set up to show no navigation bar - so no options must be handled
AUTHOR 2014-06-11 Klaus Daube, Docu + Design Daube, Zürich
*/ ; ------------------------------------------------------------------------
; --- Get the parameter from the script-call (be aware of file names with blanks!)
dquote := Chr(34) ; double-quote
fileName = %A_Space%
Loop, %0% ; number of parameters
{
aFile := %A_Index%
fileName = %fileName% %aFile% ; conctenate with a blank in between
}
fileName = %dquote%%fileName%%dquote%
; MsgBox, filename = %fileName%
; --- open the utility with dialogue "Select a file to view"
Run, H:\Utilities\QucikView\Program\qvp32.exe
Sleep, 200
SendInput, {TAB 4}
ClipBoard = %fileName%
SendInput, ^v ; The file name
SendInput, !o ; Open button --- will display the file contents
; --- resize view window and move to my preferred location
Sleep, 1000
IFWinexist, ahk_class OIWin95Frame
WinMove, , , 960, 0, 900, 1160
Return
For those who do not have the AHK interpreter on their system, you find the zip containing the exe file on my website.
In this exe qvp is assumed to be in
Code: Select all
C:\Program Files\Quick View Plus\Program\QVP32.EXE