myFile.type in Photoshop DOM

The Macintosh file type as a four-character string.
This property is read-only.

Property Type
String
On the Macintosh, the file type is returned. On Windows, "appl" is returned for .EXE files, "shlb" for .DLLs and "TEXT" for any other file. If the file does not exist, the file type is "????".