AnsweredAssumed Answered

AppleScript issue with "sort"

Question asked by seevogel on Apr 4, 2014
Latest reply on Jun 8, 2017 by thomasseidler

Summary

AppleScript issue with "sort"

Product

FileMaker Pro

Version

11, 12 and maybe others

Operating system version

OSX 10.9.1

Description of the issue

tell application "FileMaker Pro 11 Advanced"
     sort layout "myLayout" by field "name" of table "myTable" of database "myDatabase" in order ascending
end tell


TURNING INTO:

tell application "FileMaker Pro 11 Advanced"
     sort layout "myLayout" by field "name" of table "myTable" of database "myDatabase" in order stop
end tell

Steps to reproduce the problem

create a new database with the given Names and enter some records.

Open the AppleScript-Editor and enter following code:

tell application "FileMaker Pro 11 Advanced"
     sort layout "myLayout" by field "name" of table "myTable" of database "myDatabase" in order ascending
end tell

Actual result

the script running without recognizable problems BUT:

If you look below to the bottom of the AppleScript-Editor "Events"

"ascending" turned into "stop".
"descending" turning into "note"

Outcomes