Page 1 of 1

Create Thumbnails for Sub-Folders

Posted: 26 Nov 2019 15:01
by Tooloohoohoo
Please put in a feature to allow the creation and caching of image thumbnails on a parent directory, where it finds images in the entire directory tree of sub-folders instead of just the currently open one.

Thanks!

Re: Create Thumbnails for Sub-Folders

Posted: 26 Nov 2019 15:05
by highend

Re: Create Thumbnails for Sub-Folders

Posted: 26 Nov 2019 19:10
by admin
For newbies it makes sense to present the script in a copy ready format:

Code: Select all

// create thumbnails in all subfolders
    $cur  = <curpath>;
    $dirs = quicksearch("/d");
    foreach($dir, $dirs, <crlf>){
        goto $dir;
        #307;    // Function code for Thumbnails #2
    }
    goto $cur;
    end true;
Go into the top folder of your choice, then enter the above script here:
Scripting | Run Script...
Click OK and watch it work...

Re: Create Thumbnails for Sub-Folders

Posted: 27 Nov 2019 04:15
by Tooloohoohoo
Yup, that worked! Thank you.

I do feel it would still be a good feature to have as a menu command somewhere, but knowing now that's is possible through script makes it much better.

For any other scripting newbies who come across this, if you want the Thumbnail #1, then use 306 in the script instead, or for Thumbnail #3, use 308.