AppleScript Do Script dies with privilege violation

Discussion created by VerneArase on Oct 24, 2017
Latest reply on Oct 26, 2017 by TSGal

error "FileMaker Pro got an error: A privilege violation occurred." number -10004


attempting to do a Do Script from an AppleScript application.


Here's the AppleScript:


tell application "FileMaker Pro"


  considering application responses

  with timeout of 600 seconds

  open "Main:Users:varase:Documents:FileMaker:LUMC Hosts.fmp12"

  do script "Refresh Databases"

  end timeout

  end considering

end tell



The FMPro scripts are attached.


Environment: FileMaker Pro, macOS High Sierra 10.13 (with security update), 27 inch iMac Late 2013, 3.5ghz core i7, 32 GB, 1TB fusion drive, NVIDIA GeForce GTX 775M