Display of Favorites Folders/Files menu via different methods

Things you’d like to miss in the future...
Post Reply
klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Display of Favorites Folders/Files menu via different methods

Post by klownboy »

Hi Don, I noticed a bug in the way Favorite Folders or Favorite Files is displayed. When displayed via a small script (e.g., $f=favs('d');
load "$f", ,s;
), the display is fine. If displayed using the Favorite > Favorite Folders menu or using CID #550 the display doesn't interpret the <tab> character or any unicode symbols as shown below.

A simple script loaded with $f=favs('d');load "$f", ,s; Note: The UC stands for the unicode character that doesn't display on the forum. You can ignore the execute side since it has no bearing on the issue. Thanks.

Code: Select all

"XY scripts<tab>AHK scripts  UC|D:\Graphics\Icons\xy.ico" if($rmb==1) {goto D:\Tools\AutoHotkey\AHKscripts\;} else {goto D:\Tools\XYplorer\Scripts\;} unset $rmb;
"Home [C:\]<tab>Downloads  UC|:home" if($rmb==1) {goto G:\Downloads\;} else {#1401;} unset $rmb;
"Wallpaper<tab>Photos  UC|D:\Graphics\Icons\wallpaper_08.ico" if($rmb==1) {goto H:\Pictures\;} else {goto G:\Wallpaper\1920x1080\;} unset $rmb;
As you can see below, the Fav Folders menu looks fine when run from a script.
Fav Folders_run from script.JPG
Fav Folders_run from script.JPG (12.61 KiB) Viewed 918 times
When run from CID #550, the menu displays unicode special characters but doesn't interpret the <tab> character.
Fav Folders_run from CID 550.JPG
Fav Folders_run from CID 550.JPG (13.45 KiB) Viewed 918 times
When run from the Favorites Menu, neither the <tab> character or the unicode symbol in interpreted properly.
Fav Folders_run from Favorites Menu.JPG
Fav Folders_run from Favorites Menu.JPG (13.6 KiB) Viewed 918 times
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: Display of Favorites Folders/Files menu via different methods

Post by admin »

The <tab> character constant is only resolved in a scripting context (natural).
The main menu does not support Unicode characters (insurmountable VB shortcoming).

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: Display of Favorites Folders/Files menu via different methods

Post by klownboy »

That's fine Don, it's not a real problem for me since I use the Favorites Menus from scripts only.

By the way on the topic of the <tab> character, I don't know if you saw this wish awhile back here viewtopic.php?f=5&t=18071. I like the fact that the <tab> character right justifies the text after the <tab> in a menu, but it would be nice if there was a way, maybe a different tab designation (or a modified chr(09)) where, when used, the tab would act as a true tab as it is in any word processor. This way, we could essentially align or left justify a second column as discussed in that wish. Or, maybe there is a way, and I just don't know how to accomplish it. Thanks.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: Display of Favorites Folders/Files menu via different methods

Post by admin »

I don't think that's possible. That handling of the TAB character in menus is done by Windows, not by me. Since stone age it's the way how in Windows menus the caption is separated from the keyboard shortcut. You are abusing this ;) but you will eventually run against a wall...

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: Display of Favorites Folders/Files menu via different methods

Post by klownboy »

Again no problem Don. Hopefully there's no harm in asking. :) I'll closeout or delete the wish referred to above.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: Display of Favorites Folders/Files menu via different methods

Post by admin »

No problem at all. I just recently discovered Fred Neil* which means I'm in a constant exquisite mood. :beer:

* PS: Some insights on Fred Neil: http://www.richieunterberger.com/manysides.html

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: Display of Favorites Folders/Files menu via different methods

Post by klownboy »

Honestly, I have never heard the name at least not that I remember. Of course I have heard some of his songs sung by others. I listened to a few of "his" songs sung by him on Youtube...he had a great voice. Seems he was quite the recluse especially later in life. I like good folk songs, but I'm not into today's 'country' music.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: Display of Favorites Folders/Files menu via different methods

Post by admin »

Check out this deep country blues w/ Gram Parsons: https://www.youtube.com/watch?v=p8RAtpnA9w4

Post Reply