using AppleScript to set a Cell in Filemaker Pro 16; has this changed


the following script works in Filemaker pro 13, but will not set the Filemaker Pro 16 Cell. Has the AppleScript library changed for Filemaker Pro 16

–Make sure QuickTime exists; could be used to find any program
if (do shell script “ls /Applications”) contains “QuickTime Player” then
–send information to FileMaker so opening script can set voicenotes properly
tell application “FileMaker Pro Advanced”
tell table “Preferences”
tell record 1
set cell “ToBurnSound” to “QuickTime Player”
end tell
end tell
end tell

end if

Browser: Safari 602.3.12
Operating System: Mac OS X (10.10)

Hi, I don’t think it’s changed. A couple things: Your script won’t work if a cursor is currently inserted in the target field, and try using “set data cell” instead of “set data”.

Personally, I never use “tell database”. I always use “tell window” followed by “tell layout”, and the target field must actually be on the layout you’re telling. Does any of that help?