sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.71k stars 1.73k forks source link

Open pdf file in the current tab #4079

Open valuex opened 9 months ago

valuex commented 9 months ago

Is your feature request related to a problem? Please describe. Nope

Describe the solution you'd like Open pdf file in the current tab by DDE or by receiving WM_COPYDATA

Describe alternatives you've considered Close the existed one, and open a new tab. Actually not good for quick preview.

Additional context The reason I make this request I would like to preview dozens of pdf file continiously and make some notes for those pdf files. I can do continious previewing in Total Commander, but it is a file manger, not good for taking some notes for the corresponding file. So I'd like to use excel and SumatraPDF together to do continious previewing and taking notes. Luckily, with SumatraPDFControl I can develop a WinForm application and get the message from Excel by VBA. But still, I raise this request here that because the application I develped is only for previewing purpose, and I get to open it only for the previewing purpose. while for SumatraPDF, I always keep it open. So I think it would be better to add a small feature in SumatraPDF.

kjk commented 9 months ago

My thinking is: [Open2(<path>,[flags])] as an improvement over [Open(....)].

One of the flags will be open in current tab.

valuex commented 9 months ago

That's nice! Thanks for considering this feature request.