Exactly. And you could also use: fileList = show("file 'test.png'").lines.find()
the find() function strips out empty lines along the lines of the trim() function you are using there.
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users