Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

Applescript fails in FileMaker 11.0v2 (60 Comments)

$
0
0

Issue report by John Jackson

Product

FileMaker Pro

Version

11.0v2

Operating system version

10.6

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

Workaround

No workaround known at this time.

Viewing all articles
Browse latest Browse all 3510

Trending Articles