Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get file extension of path extendscript

// Extract file name and extension from file object in ExtendScript
var myFileName = myFile.name.replace(/.[^.]+$/,'');
var myFileExt = myFile.name.replace(/^.*./,'');
Source by indisnip.wordpress.com #
 
PREVIOUS NEXT
Tagged: #file #extension #path #extendscript
ADD COMMENT
Topic
Name
2+3 =