Open 2018robert opened 10 months ago
This almost makes this repository obsolete. However, the method described above has one drawback: it shows each opened file as a separate icon in the taskbar, which is quite annoying when you have many of them open.
This was the initial reason why I went with shortcut making since that makes Windows group opened PDFs together.
I made a one line batch that can be exe'd and doesn't need to be stored in the edge directory:
start msedge --app=%1
I've noticed that this command doesn't work permanently, almost every restart you have to run the command again for it to work. Is there a fix to this?
Was worried because of the detections on virus total, so I decided to make my own! Pretty simple here
Was worried because of the detections on virus total, so I decided to make my own! Pretty simple here
The detections come from the .exe file, but if you analyze msedge.bat you will notice that it is clean. If I converted your .bat file to .exe the same thing would happen: it would be detected as malware.
ftype MSEdgePDF="%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" "--app=%1"
Hey there! Thanks for telling me that information, as I'm still learning new things. Thanks ars
For some people this will work better:
Run this command once and every time you open a PDF in windows, if edge is the default PDF viewer, it will open in edge in app mode (no browser toolbars).
ftype MSEdgePDF="%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" "--app=%1"
From https://superuser.com/questions/1716255/open-pdf-in-microsoft-edge-without-showing-a-url-bar