Page 1 of 1

MS Edge problem: fix with script?

Posted: 18 Feb 2023 22:53
by GUIguy
MS Edge insists (and there's no other way according to MS :twisted: ) on opening PDF files in its own internal viewer unless you opt to download it. But then there's the extra step to go to the download folder and manually open it with the preferred/default PDF application.

Could a script be the answer? :?: Could a script detect a downloaded PDF file and then open it in the default PDF browser?

Re: MS Edge problem: fix with script?

Posted: 18 Feb 2023 23:57
by highend
AHK => Watch the folder for .pdfs, open them...

XY scripting won't help you here, unless you are willing to (at least) switch a tab location after downloading a pdf

Re: MS Edge problem: fix with script?

Posted: 19 Feb 2023 00:36
by GUIguy
Thanks Highend...
I'll take a look at AHK for that. I use it all the time anyway, so it's always loaded. I'll just have to figure out how to make that happen.

Thanks again...

Re: MS Edge problem: fix with script?

Posted: 19 Feb 2023 11:02
by Horst
GUIguy wrote: 18 Feb 2023 22:53 MS Edge insists (and there's no other way according to MS :twisted: ) on opening PDF files in its own internal viewer unless you opt to download it. But then there's the extra step to go to the download folder and manually open it with the preferred/default PDF application.

Could a script be the answer? :?: Could a script detect a downloaded PDF file and then open it in the default PDF browser?
There is no extra step.
If the download finishes, MS Edge shows you the option to open the file in the screen of the Downloads button.

Re: MS Edge problem: fix with script?

Posted: 20 Feb 2023 04:08
by rod222
MS Edge insists (and there's no other way according to MS :twisted: ) on opening PDF files in its own internal viewer unless you opt to download it.
Caveat : computer noob
This really annoyed me also
I just went into "change defaults" in Win11, and chose my pdf reader (Sumatra)

Works fine No more Edge

Re: MS Edge problem: fix with script?

Posted: 23 Feb 2023 03:10
by GUIguy
I'm desperately trying to avoid Win11. Too many downsides in the UI, especially the nested context menus for copy, etc.

BTW, does XY overcome that? If so, that could be be a game changer...

Re: MS Edge problem: fix with script?

Posted: 23 Feb 2023 09:35
by Horst
GUIguy wrote: 23 Feb 2023 03:10 I'm desperately trying to avoid Win11. Too many downsides in the UI, especially the nested context menus for copy, etc.

BTW, does XY overcome that? If so, that could be be a game changer...
There is nothing for this in XY
but there are registry keys which set the old style of context menus for all apps.
So that would be no game changer.

Re: MS Edge problem: fix with script?

Posted: 23 Feb 2023 20:22
by GUIguy
@Horst…
Thank for that information.

Can you point me to a link that demonstrates those registry changes?

Re: MS Edge problem: fix with script?

Posted: 23 Feb 2023 22:05
by Horst
Look here, its for Windows 11 and works
https://www.majorgeeks.com/content/page ... _menu.html

Thats the reg file

Code: Select all

; MajorGeeks.Com
; How to Restore the Windows 10 Context Menu in Windows 11
; https://www.majorgeeks.com/content/page/restore_windows_10_context_menu.html

[HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
@=""

[HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""


Re: MS Edge problem: fix with script?

Posted: 23 Feb 2023 22:18
by GUIguy
Thank you so much! That’s much more than I even anticipated!!