Applescript: Get filenames in folder without extension
问题 I can get the names of all files in a folder by doing this: tell application "Finder" set myFiles to name of every file of somePath end tell How can I change the strings in myFiles so that they do not include the file extension? I could for example get {"foo.mov", "bar.mov"} , but would like to have {"foo", "bar"} . Current solution Based on the accepted answer I came up with the code below. Let me know if it can be made cleaner or more efficient somehow. -- Gets a list of filenames from the