Toggle button for thumbnail configuration

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
kiwichick
Posts: 743
Joined: 08 Aug 2012 04:14
Location: Pahiatua, New Zealand

Toggle button for thumbnail configuration

Post 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?
Windows 10 Pro 22H2
Scaling 150%

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

Re: Toggle button for thumbnail configuration

Post by admin »

They will be part of the thumbsconf() command in the next beta. :)

kiwichick
Posts: 743
Joined: 08 Aug 2012 04:14
Location: Pahiatua, New Zealand

Re: Toggle button for thumbnail configuration

Post 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 :D
Windows 10 Pro 22H2
Scaling 150%

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

Re: Toggle button for thumbnail configuration

Post 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";}

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

Re: Toggle button for thumbnail configuration

Post by admin »

No flash here.

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

Re: Toggle button for thumbnail configuration

Post 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. :tup:

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";}

kiwichick
Posts: 743
Joined: 08 Aug 2012 04:14
Location: Pahiatua, New Zealand

Re: Toggle button for thumbnail configuration

Post 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 :biggrin:
Windows 10 Pro 22H2
Scaling 150%

Post Reply