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

Modal window blocks an applescript (2 Comments)

$
0
0

Issue report by L. Allen Poole

Product

FileMaker Pro

Version

13.0 v3

Operating system version

OS X 10.10

Description of the issue

Applescript executed by a script triggered from a modal window returns error -1712, fails. Same Applescript executed by a script triggered from a normal "Document" window works fine.

Steps to reproduce the problem

Call a script that runs an Applescript from a FM modal window. Applescript has some interaction with FileMaker, such as:

set lookup_value to get data cell "LDAP_LOOKUP_VALUE"
set shell_script to ...
set ldap_result to do shell script shell_script as text
set data cell "LDAP_RESULT" to ldap_result

Expected result

Applescript is able to do its thing.

Actual result

Applescript is thwarted by the modal window, and times out.

Exact text of any error message(s) that appear

Error -1712 returned by FileMaker Get ( lasterror )

Workaround

Close the modal window and run the scripted process in the context of a non-modal window.

Viewing all articles
Browse latest Browse all 3510

Trending Articles