@@ -0,0 +1,846 @@
+##%5BTBT-Tools%5D=group%0A##Input_Footprints=vector%0A##Image_IDs=field Input_Footprints%0A##Output_Image_List=folder%0Afrom qgis.utils import *%0Afrom osgeo import ogr%0Afrom osgeo import osr%0A%0AIMAGE_IDS = Image_IDs%0AoutDir = Output_Image_List%0A%0Aif len(outDir) == 0:%0A    outDir = os.environ%5B'HOME'%5D%0A%0AoutDir = os.path.join(outDir,'image.list')%0A%0Adef getFPs(fpIn,IMAGE_IDS):%0A    '''Write selected image names to file'''%0A    layer = processing.getObject(fpIn)%0A    selected = layer.selectedFeatures()%0A    numImages = len(selected)%0A    IMAGE_IDS = IMAGE_IDS.encode('utf-8')%0A    fout = open(outDir,'w')%0A    for sf in selected:%0A        thisImage = sf.attribute(IMAGE_IDS)%0A        progress.setInfo(thisImage)%0A        outTxt = '%25s.jpg%5Cn' %25 thisImage%0A        fout.write(outTxt)%0A    fout.close()    %0AfpIn = Input_Footprints%0Aprogress.setText(fpIn)%0Afps = getFPs(fpIn,IMAGE_IDS)%0A

Create export-selected-frame-ids.py