[Request] Open link with Chrome is okay but not MS Edge by right click context menu
-
emc last edited by leocg
Hi , Always working by right clicking , open with any browsers from my custom context menu:
Item, "Chrome" = Execute program, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "%u"
I use the same settings for Microsoft Edge but it appears not working as it should but opening a separate Microsoft Edge browser without the link content:
Item, "Microsoft Edge" = Execute program, "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe", "%u"
What should be correct in the settings ?
-
burnout426 Volunteer last edited by
@emc said in [Request] Open link with Chrome is okay but not MS Edge by right click context menu:
Item, "Microsoft Edge" = Execute program, "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe", "%u"
That works fine for me on Windows 11. The page opens up in Edge. If Edge is already open, the page opens up in a new tab in Edge. Does it work with a simple page like https://example.com/? If so, maybe it has something to do with the URL of the page. Maybe try %U instead of %u.
-
emc last edited by emc
@burnout426 Thanks & will try %U , tomorrow, as need update menu.ini and wait for the next restart of Opera.
any links at the moment not working as it open new separate Edge browser in blank tab and blank address bar , as earlier picture shows.
Wondering if any other "switches" worth trying other than %u.
EDIT: just found some of the custom menu I missed an extra ' " ' at the end., it should end with "" but some was ended with " only. Shall see tomorrow.
-
emc last edited by leocg
[Solves + Report Back]
In Context menu I modified and finally make it works and want to report back :
Won't work with switch %u
Item, "Microsoft Edge" = "Execute program, "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe", "%U""Will work with switch %l
Item, "Microsoft Edge" ="Execute program, "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe","%l""** as strange with some other browser works with %u. Anyway, anyone who wanna use it should try both %u and %l to see which can works.
-
burnout426 Volunteer last edited by
@emc said in [Request] Open link with Chrome is okay but not MS Edge by right click context menu:
%l
That's supposed to be for the link URL when you right-click on a link. Are you saying that when you right-click on a page, %l gets resolved to the document's URL like %u, but just happens to work fine for Edge?
For testing, you can try:
test.bat:
echo %1 pause
and do:
Item, "Test" = Execute program, "C:\Users\yourusername\Desktop\test.bat", "%U"
and %l etc. to see what Opera is actually sending to a program or not to see if it's quoted properly etc.
-
emc last edited by
@burnout426 said in [Request] Open link with Chrome is okay but not MS Edge by right click context menu:
Are you saying that when you right-click on a page, %l gets resolved to the document's URL like %u, but just happens to work fine for Edge?
Sorry for confusing you .........
I was always want opening LINKS from this post ., it appears I use %U from beginning which is wrong.
It should be %l for opening links to use in the context menu.
Thank you very much.
-