AnsweredAssumed Answered

Applescript fails in FileMaker 11.0v2

Question asked by on Jul 13, 2010
Latest reply on Aug 21, 2015 by thomasseidler


Applescript fails in FileMaker 11.0v2


FileMaker Pro



Operating system version


Description of the issue

An applescript that uses the "do script" will fail with an error as the script doesn't seem to complete before the next command is accepted.

Steps to reproduce the problem

Set up a test database ("Test"). Give it a field, a layout ("Test"), and set up two scripts that do something (such as go to  the layout, but in different views so you can see a change.)

Using the Apple Script Editor, create and use applescript code similar to:

tell application "FileMaker Pro Advanced"
     tell document "Test"
          go to layout "Test"
          do script "Go to layout as form"
             do script "Go to layout as list"
     end tell
end tell

Expected result

The script should run to the end without an error and the layout should be left in list view. Works fine in version 10.

Actual result

Instead, in version 11, hangs at line

do script "Go to layout as list"

Exact text of any error message(s) that appear

--> error "Data is being accessed by another user, script, or transaction." number -10011


No workaround known at this time.