Accelerator broken in FavFolders

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Stef123

Accelerator broken in FavFolders

Post by Stef123 »

I get to see "&" instead of underlines

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

Re: Accelerator broken in FavFolders

Post by admin »

Yes, that was a bug fix. I decided it's more important to show "&"s in paths.

Stef123

Re: Accelerator broken in FavFolders

Post by Stef123 »

Not sure I understand :?: Does this mean it will get fixed or that it's no longer possible to have accelerators in FavFolders?

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

Re: Accelerator broken in FavFolders

Post by admin »

The latter.

Stef123

Re: Accelerator broken in FavFolders

Post by Stef123 »

:evil: I am not amused. So I can no longer use an ingrained Windows habit that works everywhere else?

Why take away a good and tried thing - to gain .... what? It's been possible all along to have literal ampersands in captions by escaping them. Or you can simply substitute a plus sign + for it.
But what can I do to keep operating with key shortcuts? I am forced to change my mnemonic schemes, to add silly prefixes up front. Or hold down arrow keys in a gamble to release them at the right moment. Or press a dozen times instead of once. :(
admin wrote:I decided it's more important to show "&"s in paths.
I don't understand why one thing rules out the other. Path does not equal caption in other managers, and now that I am finally able to enter captions in a GUI-friendly way in XY as well - gratuity of Sammay's script - my joy was short-lived. :cry: Please bring back accelerator keys.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Accelerator broken in FavFolders

Post by bdeshi »

if caption exists, convert '&' inside that to accelerator, else keep &'s intact.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Accelerator broken in FavFolders

Post by Stef123 »

Thanks, but I don't know how to pull it off :?:
How do I convert my (manually inserted) & to accelerators?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Accelerator broken in FavFolders

Post by bdeshi »

[ed] Oops, looks like you can already do that.

@Stef: Use captions to name favorites and use &'s (or &&'s) in those captions.

Some examples:

Code: Select all

"IHave&Accel" C:\caps&hats
C:\caps&hats
You'll see the first one has & in the caption which is processed as accelerator. But the &'s in the favorite path itself remains unprocessed. So C:\caps&hats is shown and navigated as-is, not as C:\capshats.

same for esacping. && displays as one in caption, but as-is in paths.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Accelerator broken in FavFolders

Post by Stef123 »

SammaySarkar wrote:@Stef: Use captions to name favorites and use &'s (or &&'s) in those captions.
But this is exactly what I've been doing - successfully - for many months past. And now all these accelerators stopped working in both, FavFiles and FavFolders. This is what I get to see in 15.000.313:
My&Fav
My&&Fav
&Fav
&&FAv
Tried more varations and grew ever more frustrated. && are always treated literally now. No elegant underlining like elsewhere. No more accelerators except for first-letter defaults - the very thing I want to avoid by using & in the first place. :evil:

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Accelerator broken in FavFolders

Post by bdeshi »

works here, same version. :veryconfused:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: Accelerator broken in FavFolders

Post by admin »

Stop the worries. It was a bug. All will be good.

This is how it should be done with and without caption (well, nothing to do for without caption):

Code: Select all

E:\Test\drop\folder2\Music & Media\
"M&usic && Media" E:\Test\drop\folder2\Music & Media\

Stef123

Re: Accelerator broken in FavFolders

Post by Stef123 »

Oh my - I better stop going along with every beta and getting all worked up about it :bug: :x
Relieved to hear it will work as usual, no more itching and scratching, gotta download later, too busy now ...

klownboy
Posts: 4481
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Accelerator broken in FavFolders

Post by klownboy »

While we are on this topic, I've never seen underlining of the accelerator key in an XY scripting menus. The accelerator key works but no underlining. Is there something that's controlling this? I've tried changing fonts Times New Roman, Tahoma, and Segoe UI but no luck. I'm using the very latest v15.00.0314 now but as I said I've never seen underlining in XY script menus or Favorite Folders etc when I've used an accelerator. I do see them in XY's built-in menus only after hitting the alt key which I think is normal. Any ideas on why this is the case? :?

Stef123

Re: Accelerator broken in FavFolders

Post by Stef123 »

Try this

Code: Select all

"Show Ampersand Accelerators" run "%systemroot%\system32\control.exe /name Microsoft.EaseOfAccessCenter /page pageKeyboardEasierToUse";
It's one of the checkboxes at the bottom of that page

klownboy
Posts: 4481
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Accelerator broken in FavFolders

Post by klownboy »

Thanks Ste123, I should have know it was a Windows "thing". By the way, that's a nice way to get to specific control panel items. I had an XY menu item for the so-called God Mode of the Control Panel which of course lists every one of the detailed items.

It's a bit of a trade off because in some cases I'd rather not see the accelerators in many Windows menus or even in XY's built-in normal menus (and those I can see if/when I want by hitting the alt key), but I like to see them in our own scripting menus. Thanks again.

Post Reply