This script is some sort of BulkFileConverter, but it has some additional options. It runs as modeless dialog and lists up all open images. Press reload, if you have opend new images. You can choose which images you don't want to save. The main feature is the possibility to rename each file and to save the images as .txt, .dat, or .tif (real 4) with only one mouse click.
You con import all .dat-files from one directory (if they have the same byte-size).
I tried to make the source code easy to read, to give you the possibility to modify it.