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"
The FMPro scripts are attached.
Environment: FileMaker Pro 18.104.22.1682, 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