Removing Files
Once we can gather a list of files, we may want to remove one or two, here is a way.
Add another button(drag it off the mpi tool module or
choose the button tool from the RTE's tool palette and draw one), this time below the field, use the
PI to name it
Clear Image
here is a script:
on mouseUp
put the hilitedLines of cd fld "imagelist" into tLine
if tline is EMPTY then exit mouseUp
delete line tLine of cd fld "imageList"
get the uImagePaths of cd fld "imageList"
delete line tLine of it
set the uImagePaths of cd fld "imageList" to it
end mouseUp
Try selecting a line in the field and clicking the new button.
Before we go on to do something with our list we should deal with the autoResize...