We use PDF viewers as part of our help system, by displaying the relevant page in the PDF file, e.g.
"C:\Program Files (x86)\Foxit Software\Foxit Reader\Foxit Reader.exe" "%h%.pdf" /A page=%p%
%h% and %p% are macros for the help file base name and page number. These are expanded before the command is passed to Windows. If Reader is set to reopen the previous session and that session contains more than a few files (usually three), the help file fails to open. If the command is repeated after Reader has opened, the help file displays properly.
The second issue is that even when Tools -> Preferences -> Documents -> Allow Multiple Instances is not set, the help file is displayed multiple times, even if asking for the same page.
We have replicated these two problems on two PCs
1) Win7/64 i7 8Gb RAM, Reader 5.1
2) WinXP P4 1Gb RAM, Reader 4.1
My guess is that the command line is getting "lost" after after a while.
The ability to show only one instance of a file would be very useful.
Stephen
"C:\Program Files (x86)\Foxit Software\Foxit Reader\Foxit Reader.exe" "%h%.pdf" /A page=%p%
%h% and %p% are macros for the help file base name and page number. These are expanded before the command is passed to Windows. If Reader is set to reopen the previous session and that session contains more than a few files (usually three), the help file fails to open. If the command is repeated after Reader has opened, the help file displays properly.
The second issue is that even when Tools -> Preferences -> Documents -> Allow Multiple Instances is not set, the help file is displayed multiple times, even if asking for the same page.
We have replicated these two problems on two PCs
1) Win7/64 i7 8Gb RAM, Reader 5.1
2) WinXP P4 1Gb RAM, Reader 4.1
My guess is that the command line is getting "lost" after after a while.
The ability to show only one instance of a file would be very useful.
Stephen