4 Replies Latest reply on Jun 11, 2014 9:30 AM by paulisaacs

    applescript issues within filemaker



      applescript issues within filemaker


           I am trying to set up a native applescript which will run from within filemaker.  Bascially the script executes a .jar file in a shell script, which sends a HL7 message to a recieving ip address and port number and then deletes the original file.

           The shell script works in terminal fine, and it runs from applescript editor fine, however when the applescript runs from within filemaker as a script I get this error

           JavaVM: Failed to load JVM: /System/Library/Frameworks/JavaVM.framework/Versions/1.6//libserver.dylib

           the applescript is the following:-

           do shell script "/Library/Java/Home/bin/java -jar /Applications/dcm4che-1.4.32/bin/hl7snd.jar mllp:// /Applications/dcm4che-1.4.32/bin/worklist/file.txt"

           Once again when this script is performed within applescript editor it works fine, and i am a little bit stumped as to what is going on.

           Any suggestions would be greatly appreciated.

           I am running OSX 10.8.2 and use filemaker pro 12.

           Regards Paul