AnsweredAssumed Answered

AppleScript Runtime Error

Question asked by jeremyegger on Dec 7, 2016
Latest reply on Mar 13, 2017 by user19752

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.

Outcomes