Programming and Scripting :: Icon Grid Aligning



Quote
I wonder why you are creating and writing to modified.dfminfo?

read and write at the same time to .dfminfo? never tried that before.
it's doing it line by line, i guess i feel safer should the program crash in the middle.

Quote
to check whether it is gzipped before writing to it.

since it's decided not be gzipped for future versions, i have not
bothered with that. hmm, io.popen - nice function though.

Instead of grid snapping everything in .dfminfo, should use the the select & drag feature of dfm to provide a subset of lines to your script to process.

original here.