Another post reminded me of this simple "Thumbnail Switcher" CTB I use all the time, but haven't managed to get working correctly.
Function:
- If the View is anything but thumbnails, activate Thumbnails #1,
- If it's Thumbs#1, activate Thumbs#2; 2 => 3; 3 => back to 1; etc...
Code: Select all
if (get("View") < 4) || (get("View")==6) { // If NonThumbnails or Thumbnails#3 view
// Display Thumbnails#1
#306;
} elseif get("View")==4 { // If Thumbnails#1 view
// Display Thumbnails#2
#307;
} elseif get("View")==5 { // If Thumbnails#2 view
// Display Thumbnails#3
#308;
}But with 'heavy' pics (e.g. lots of JPGs or a bunch of TIFs), it just stops thumbs creation and doesn't switch views.
(ok, a small pause before another click does it, but it doesn't feel 'right'... Y'know what I mean!
I found lots of different ways to voluntarily stop thumbs creation, but I just can't figure out how to 'overcome' this background processing and force the script to go on from there (i.e. correctly detect current View and display next View).
Any idea(s)...?
Thanks,
Flux
XYplorer Beta Club