8 Replies Latest reply on Aug 20, 2013 7:24 PM by sporobolus

    Help using Applescript to change file names


      I have a folder full of pictures that need to be renamed. They are currently named using the student's last name but should instead be named using first initial and then last name. I have all the student's names on a table in FM. The basic AppleScript would look like this


      "tell application "Finder"

      set the name of file "Abrams.jpg" of folder "2017_StudentPictures" to "A Abrams.JPG"

      end tell"


      How do I format it in FM to use the data from the current record?