MS Edge problem: fix with script?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
GUIguy
Posts: 95
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64
Contact:

MS Edge problem: fix with script?

Post 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?
GUIguy
I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

highend
Posts: 13346
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: MS Edge problem: fix with script?

Post 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
One of my scripts helped you out? Please donate via Paypal

GUIguy
Posts: 95
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64
Contact:

Re: MS Edge problem: fix with script?

Post 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...
GUIguy
I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

Horst
Posts: 1093
Joined: 24 Jan 2021 12:27
Location: Germany

Re: MS Edge problem: fix with script?

Post 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.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.77

rod222
Posts: 45
Joined: 05 Mar 2019 11:44
Location: Country Western Australia.

Re: MS Edge problem: fix with script?

Post 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

GUIguy
Posts: 95
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64
Contact:

Re: MS Edge problem: fix with script?

Post 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...
GUIguy
I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

Horst
Posts: 1093
Joined: 24 Jan 2021 12:27
Location: Germany

Re: MS Edge problem: fix with script?

Post 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.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.77

GUIguy
Posts: 95
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64
Contact:

Re: MS Edge problem: fix with script?

Post by GUIguy »

@Horst…
Thank for that information.

Can you point me to a link that demonstrates those registry changes?
GUIguy
I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

Horst
Posts: 1093
Joined: 24 Jan 2021 12:27
Location: Germany

Re: MS Edge problem: fix with script?

Post 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]
@=""

Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.77

GUIguy
Posts: 95
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64
Contact:

Re: MS Edge problem: fix with script?

Post by GUIguy »

Thank you so much! That’s much more than I even anticipated!!
GUIguy
I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

Post Reply