Page 1 of 1
Toggle button for thumbnail configuration
Posted: 28 Jul 2022 06:09
by kiwichick
I'd like to create a custom button to toggle these thumbnail configs:
1) Show file icon on thumbnail
2) Show dimensions of original image on thumbnail
They aren't part of the thumbsconf() command, so is it possible to do another way?
Re: Toggle button for thumbnail configuration
Posted: 28 Jul 2022 09:10
by admin
They will be part of the thumbsconf() command in the next beta.

Re: Toggle button for thumbnail configuration
Posted: 28 Jul 2022 09:12
by kiwichick
admin wrote: ↑28 Jul 2022 09:10
They will be part of the thumbsconf() command in the next beta.
Geez, Don, you are amazing!! Thank you

Re: Toggle button for thumbnail configuration
Posted: 28 Jul 2022 12:20
by klownboy
Cool, I mentioned that this would be a cool addition a couple of years ago...
viewtopic.php?p=178013#p178013
Don, there seems to be a flash of a dialog box that I see on screen before the dimensions show on the image thumbnails with
thumbsconf(",,,,,,1"); or
thumbsconf(",,,,,,!");
The hack I used previously to do the same.
Code: Select all
if(gettokenindex(get("view"), "1|4|5|6|8|9", "|", "i")) {
sendkeys "pt%d{Enter}";#600;}
else {status "Current view is not a thumbnail view.","FF0000","ready";}
Re: Toggle button for thumbnail configuration
Posted: 28 Jul 2022 12:27
by admin
No flash here.
Re: Toggle button for thumbnail configuration
Posted: 28 Jul 2022 12:52
by klownboy
OK thanks. I had used the SC ThumbsConf enhanced with my script which checked first if the view was a thumbnail view, but a bracket was missing. Duh! Thanks.
Code: Select all
if(gettokenindex(get("view"), "1|4|5|6|8|9", "|", "i")) {
thumbsconf(",,,,,,!"); }
else {status "Current view is not a thumbnail view.","FF0000","ready";}
Re: Toggle button for thumbnail configuration
Posted: 28 Jul 2022 14:22
by kiwichick
admin wrote: ↑28 Jul 2022 09:10
They will be part of the thumbsconf() command in the next beta.
Oh Don, just installed the new beta and you are officially a legend!! That is so darn cool, it works perfectly. Thank you so much
