Buttons thumbnails size

Hello, I have three buttons with the following instructions:

Show THUMBNAILSIZE 6

Show THUMBNAILSIZE 128

Show THUMBNAILSIZE 256

But they are shown only in Thumbnails mode, and besides, it is not possible to know which of them is pressed, does anyone know if it is possible for them to always remain visible, and for the pressed button to remain highlighted?

I have tried with: @hideif:! and @toggle:if, but I don't get it. Thank you very much to anyone who can help me!

No, neither, I am afraid. This only works for buttons that use the Set command.

1 Like

I understood, what a pity, thank you very much!

What use are they when thumbnails aren't displayed?

The button for the active thumbnail size will be highlighted to show it's active. If none of them do, it may be because the thumbnail size isn't what any of the buttons specify.

They don't really serve any purpose outside of Thumbnails mode, the problem is that I have buttons to the right of them, which change position when Thumbnails mode is turned on/off and I would like to always find them in the same position

This seems to work. Visible in all modes, and highlights the current size:

@toggle:if Show THUMBNAILSIZE 256
dopusrt /acmd Show THUMBNAILSIZE 256
1 Like

Now the buttons work very well in the sense of not being hidden, but will it be possible for the pressed button to stay highlighted (toggle) to know which one is being applied?

I inserted the line:
@disableif:!Set VIEW=Thumbnails
to turn them off when Thumbnails mode is not applied

The code I gave already does that.

I thought you didn't want that? This is getting confusing.

Sorry for so much confusion, I'm going to create an image in Photosohop and send it to you, a picture is worth a hundred words

Is this the result I would like to get!

Final

This works here:

@toggle:if Show THUMBNAILSIZE 256
@disableif:!Set VIEW=Thumbnails
dopusrt /acmd Show THUMBNAILSIZE 256

This is how the buttons are currently set up, but none stand out, it looks like the @toggle:if Show THUMBNAILSIZE 256 line isn't working

I found out what the problem was, the size of the thumbnails has to remain within the default range, that is, between 32-256 , outside of those values, the button does not stand out, a thousand times thanks Leo, excellent program!!!

The value has to match what the button specifies for the button to highlight. It would not make sense for it to highlight for any other value.

True, but I meant that the thumbnail size has to be between 32-256, if I modify the maximum thumbnail size in Preferences > Advanced, the button doesn't behave the same way, it doesn't always highlight

It works fine here. If I set max thumbnail size to 1024 and make the button use 700, it highlights correctly when the current size is 700.

You are sure Leo, as always, the problem was mine, I had configured the thumbnails as non-square (length and width) and the buttons as square (a single value), sorry