📅  最后修改于: 2022-03-11 15:03:04.458000             🧑  作者: Mango
// Extract file name and extension from file object in ExtendScript
var myFileName = myFile.name.replace(/.[^.]+$/,'');
var myFileExt = myFile.name.replace(/^.*\./,'');