2 Replies Latest reply on Mar 13, 2017 7:23 PM by user19752

    AppleScript Runtime Error

    jeremyegger

      Wondering if someone has some advice for me. I am working on a FileMaker project. I am running a AppleScript -calling on a shell script and returning the results to a field.

      I have this working, but when I make it a runtime solution, I get an error.

       

      Script:

      do shell script "system_profiler SPHardwareDataType | grep 'Serial Number (system)' | awk '{print $NF}'"

      set data cell "Serial_Number" of current record to result

       

      Error:

      A """ can't go after this identifier.

       

      Then:

      Unknown Error: -2740

       

      FileMaker Advanced 14.

       

      Thank you.