AnsweredAssumed Answered

Yosemite broke AppleScript getting content of a field

Question asked by Diver on Apr 1, 2015
Latest reply on Apr 7, 2015 by Diver

I have written several Applescripts to get the content of FileMaker fields that worked in several past versions of FileMaker and the Mac OS.   Yosemite came along and this process no longer works.   A quick search reveals that there were changes in Applescript with system 10.10 but I am unable to identify what will fix the Applescripts.  I have been using Apple's Script Editor for troubleshooting the problem.

 

Here is a sample of what the script looks like:

 

tell application "FileMaker Pro Advanced"

  set filePath to the contents of field "fieldnamehere" of table "tablenamehere"

end tell

 

Here is the result:

 

error "FileMaker Pro Advanced got an error: Object not found." number -1728 from contents of field "fieldnamehere" of table "tablenamehere"

 

I have validated the Applescript works fine when running under system 10.8.x and system 10.9.x with the same FileMaker database. 

 

I welcome all suggestions.

Outcomes