AnsweredAssumed Answered

Calculated AppleScript Madness

Question asked by ericdano on Jan 15, 2014
Latest reply on Jan 16, 2014 by jmw

Title

Calculated AppleScript Madness

Post

     I'm trying to get a shell script to run from FileMaker. Well, not a shell script, a Python script.

     Here is what I'm trying, and it doesn't work. I know the script works just fine.

     This is a Calculated AppleScript,

     "tell application \"Finder\"¶do shell script \"python ~/Scripts/PDFMerge.py " & Students::First Name  &  Students::Last Name & "\" ¶end tell"

     If I take out Either Students::First Name OR Students::Last Name the script runs fine. Some how Filemaker isn't passing BOTH values to the script?

     Thanks!

 

Outcomes