Create folder.jpg on selected folders

It's definitely possible for a script to do this. For each selected folder, the script could enumerate its files and pick a random image, then run the Image CONVERT and SetAttr commands on it.