try adding this code after you create the new file open file pathToNewFile set the fileType to "crtrJPEG" -- where crtr is the creator code and JPEG is the type code -- you may change the creator code to suit your needs.. close file pathToNewFile