3 Replies Latest reply on Jun 5, 2014 7:26 PM by BruceRobertson

    Applescript to shell script to field

    strngr12

      Hello Everyone,

       

      I have a calculated Applescript that is really just a shell script. I can run it easily enough and get the result to a text file on my comp., but how do I send the result directly to a field in the current layout? For example:

       

      Set Variable [$someShellScript; Value:"ls ~/Desktop"]

      Perform AppleScript ["do shell script " & Quote($someShellScript)]

       

      If I want the results of that ls command to go straight to a field in my current Filemaker layout and record - say, Current::Desktop_List - how would I go about that?

       

      Any hwlp would be appreciated!

       

      Thanks,

       

      Dan