Recognize URL in Hamburger syntax

Features wanted...
LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Recognize URL in Hamburger syntax

Post by LittleBiG »

It would be great if I could add URLs easily to the Hamburger syntax, similarly to paths, writing only like "https:\\www.xyplorer.com". Clicking on them would start the default browser. Now I have to create a one-line scipt for each URL, hard to copy paste more URLs at once, all rows have to be amended.

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Recognize URL in Hamburger syntax

Post by admin »

Good idea, coming. :tup:

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Recognize URL in Hamburger syntax

Post by LittleBiG »

Thanks, great, I like it a lot. Maybe also a caption possibility could be helpful in case of long URLs.

By the way, I tried to comment out the rows I created for opening URLs by script. Just to keep it for a while. But "//" doesn't work if it is in the starting position. By desing or bug?

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Recognize URL in Hamburger syntax

Post by admin »

1) Next beta: URL;Caption;Icon

2) Next beta: Now you can comment out whole lines by starting them with //.

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Recognize URL in Hamburger syntax

Post by admin »

Just saw: commenting out does not work with the first line yet in v22.90.0010.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Recognize URL in Hamburger syntax

Post by LittleBiG »

Apparently the new syntax with caption and icon doesn't honor indentation, that is, it appears as a main menu item even if it is defined in a submenu.

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Recognize URL in Hamburger syntax

Post by admin »

Yep.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Recognize URL in Hamburger syntax

Post by LittleBiG »

Much better, thanks.

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: Recognize URL in Hamburger syntax

Post by nerdweed »

One more idea. Can we nest multiple files. Understandably, files can be nested inside each other, so either they aren't read until necessary or silently ignored if already read.

File1

Code: Select all

C:
D:
File2

Code: Select all

E:\XYplorer\xyplorer.exe
pbrush
MyHamburger Code

Code: Select all

E:
<<File1.txt
<<File2.txt

Hamburger Menu

Code: Select all

E:
File1 > C:
        D:
File2 > E:\XYplorer\xyplorer.exe
        pbrush

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Recognize URL in Hamburger syntax

Post by admin »

Too complicated.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Recognize URL in Hamburger syntax

Post by LittleBiG »

I am not sure, what that idea was about, but if it was about dynamicity, it could be achieved in an easier way. Like a one liner:

Code: Select all

//H=MyHamburger.txt
And you could take care how to embed those file1 and file2 into one text file.
Last edited by LittleBiG on 25 Feb 2022 13:03, edited 1 time in total.

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Recognize URL in Hamburger syntax

Post by admin »

Tip: SC popupnested = Hamburger

WirlyWirly
Posts: 312
Joined: 21 Oct 2020 23:33
Location: XY 64-Bit | Win 10 @ 100% (3440x1440)

Re: Recognize URL in Hamburger syntax

Post by WirlyWirly »

Like we can set default programs within XY to open specific filetypes, is there a way to set a default browser from XY to handle URL's?

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Recognize URL in Hamburger syntax

Post by jupe »

No there isn't a global setting (besides OS default), but there is nothing stopping you from just using a scripting command instead, here's an example of one way to do it:

openwith "C:\Program Files\Firefox\firefox.exe", , "https://www.xyplorer.com";

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Recognize URL in Hamburger syntax

Post by admin »

In the next beta you can define a default browser for URLs via CFA like this for example:
https://*;http://*>C:\Program Files (x86)\Mozilla Firefox\firefox.exe

Post Reply