Page 1 of 2
Recognize URL in Hamburger syntax
Posted: 21 Feb 2022 23:23
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.
Re: Recognize URL in Hamburger syntax
Posted: 22 Feb 2022 12:16
by admin
Good idea, coming.

Re: Recognize URL in Hamburger syntax
Posted: 23 Feb 2022 12:04
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?
Re: Recognize URL in Hamburger syntax
Posted: 23 Feb 2022 14:32
by admin
1) Next beta: URL;Caption;Icon
2) Next beta: Now you can comment out whole lines by starting them with //.
Re: Recognize URL in Hamburger syntax
Posted: 23 Feb 2022 18:09
by admin
Just saw: commenting out does not work with the first line yet in v22.90.0010.
Re: Recognize URL in Hamburger syntax
Posted: 23 Feb 2022 22:08
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.
Re: Recognize URL in Hamburger syntax
Posted: 24 Feb 2022 09:18
by admin
Yep.
Re: Recognize URL in Hamburger syntax
Posted: 24 Feb 2022 11:31
by LittleBiG
Much better, thanks.
Re: Recognize URL in Hamburger syntax
Posted: 24 Feb 2022 16:43
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
File2
MyHamburger Code
Hamburger Menu
Code: Select all
E:
File1 > C:
D:
File2 > E:\XYplorer\xyplorer.exe
pbrush
Re: Recognize URL in Hamburger syntax
Posted: 24 Feb 2022 17:38
by admin
Too complicated.
Re: Recognize URL in Hamburger syntax
Posted: 25 Feb 2022 12:33
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:
And you could take care how to embed those file1 and file2 into one text file.
Re: Recognize URL in Hamburger syntax
Posted: 25 Feb 2022 12:59
by admin
Tip: SC popupnested = Hamburger
Re: Recognize URL in Hamburger syntax
Posted: 26 Feb 2022 00:50
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?
Re: Recognize URL in Hamburger syntax
Posted: 26 Feb 2022 01:08
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";
Re: Recognize URL in Hamburger syntax
Posted: 26 Feb 2022 10:20
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