How to better indicate curitem?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

How to better indicate curitem?

Post by MBaas »

Depending on time of day, screen-resolution etc., I sometimes find it hard to quickly find the focused item in the listview.
2016-03-06_10-56-17.png
I tried to assign the color in Config>Colors>List>Browse>"Focused item", but this setting seems to be ignored. Is that a bug or an intended feature or are there perhaps interdependencies with other settings?
2016-03-06_11-00-14.png
To see the attached files, you need to log into the forum.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

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

Re: How to better indicate curitem?

Post by bdeshi »

Tools > Customize list > Highlight focused item
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

MBaas
Posts: 692
Joined: 15 Feb 2016 21:08

Re: How to better indicate curitem?

Post by MBaas »

Options, options, options - hidden all over the place ;-)
Thanks very much - looks much better now!
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.14000 * * LinkTree

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: How to better indicate curitem?

Post by aurumdigitus »

Depending on the work at hand am frequently in this area making adjustments.

It would be an improvement if the list did not auto-close after the addition/removal of each and every checkmark.

Possible? :eh:

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

Re: How to better indicate curitem?

Post by admin »

Not possible.

But there is faster access to that list if you go via right-clicking one of the Toolbar buttons that toggle items on this list, e.g. "Show Grid" or "Checkbox Selection" or "Sticky Selection".

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: How to better indicate curitem?

Post by aurumdigitus »

As you are aware from our previous exchanges am reticent about adding buttons to the TB. However, this is a good tip to know as when needing frequent adjustments the presence of the button on a temporary basis is worth it. Thanks for the "heads up". :beer:

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

Re: How to better indicate curitem?

Post by admin »

You can also assign a KS to that submenu...

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: How to better indicate curitem?

Post by TheQwerty »

aurumdigitus wrote:Depending on the work at hand am frequently in this area making adjustments.

It would be an improvement if the list did not auto-close after the addition/removal of each and every checkmark.

Possible? :eh:
Since v16.30.0013 you can use something like this:

Code: Select all

"Quick CID-Script"
	// Prefix of commands to present.
	$prefix = 'Tools | Customize List | ';

	// Get all commands (requires v16.30.0013+)
	$list = Get('ListOfCommands', 1);
	// Filter by prefix.
	$list = FormatList($list, 'f', <crlf>, "*<tab>$prefix*");
	// Remove any submenus under prefix.
	$list = FormatList($list, 'f', <crlf>, "!*- submenu -*<crlf>*|*|*|*");
	// Clean the display by removing prefix text.
	$list = Replace($list, $prefix);
	// Show selection box.
	$list = InputSelect('Select to Toggle', $list, <crlf>, 2+4+64);
	// Reduce to CID-script.
	$list = RegexMatches($list, '^#\d+', ';') . ';';
	// Run script.
	Load $list,, 's';
I'm not entirely happy with this though because there is currently no easy way to determine the state of these toggles so that you can show the current configuration within the selection list. (You'd have to save INI files, read the value, and then decode it - not impossible just not without its own headaches.)

More ugly but state-aware would be this: :naughty:

Code: Select all

while (true) { status 'Hold Escape to stop script....'; #400; wait 500; }
To escape the endless menu hold Escape as the status bar says.

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

Re: How to better indicate curitem?

Post by admin »

Wow, not sure why but I want to call this approach "aztec scripting".

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: How to better indicate curitem?

Post by aurumdigitus »

TheQwerty wrote: while (true) { status 'Hold Escape to stop script....'; #400; wait 500; }
Another one-line solution so clever it verges on being painful!
Admin wrote:... but I want to call this approach "aztec scripting".
How much coding did the Aztecs do?

:biggrin:

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

Re: How to better indicate curitem?

Post by klownboy »

Hi TheQwerty, very nice use and breakdown of your requested SC get('ListofCommands'). As you said, too bad there wasn't a more convenient way to get the current status, but still very cool. :appl:
aurumdigitus wrote:How much coding did the Aztecs do?
I'm not sure about the Aztecs but I read somewhere that the Mayans were computer wizards. :)

Post Reply