Recognize URL in Hamburger syntax
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Recognize URL in Hamburger syntax
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:
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: Recognize URL in Hamburger syntax
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?
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
1) Next beta:
2) Next beta: Now you can comment out whole lines by starting them with //.
URL;Caption;Icon2) Next beta: Now you can comment out whole lines by starting them with //.
FAQ | XY News RSS | XY X
-
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
Just saw: commenting out does not work with the first line yet in v22.90.0010.
FAQ | XY News RSS | XY X
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: Recognize URL in Hamburger syntax
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:
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: Recognize URL in Hamburger syntax
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
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
File2
MyHamburger Code
Hamburger Menu
File1
Code: Select all
C:
D:
Code: Select all
E:\XYplorer\xyplorer.exe
pbrush
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:
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: Recognize URL in Hamburger syntax
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:
And you could take care how to embed those file1 and file2 into one text file.
Code: Select all
//H=MyHamburger.txt
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:
-
WirlyWirly
- Posts: 312
- Joined: 21 Oct 2020 23:33
- Location: XY 64-Bit | Win 10 @ 100% (3440x1440)
Re: Recognize URL in Hamburger syntax
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
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
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.exeFAQ | XY News RSS | XY X
XYplorer Beta Club