3 Replies Latest reply on Jul 27, 2015 8:17 AM by TSGal

    AppleScript cannot select a script in the Script Workspace

    dsimpson

      Summary

      AppleScript cannot select a script in the Script Workspace

      Product

      FileMaker Pro

      Version

      14.0.1

      Operating system version

      10.10.4

      Description of the issue

      In FileMaker 13, this line of AppleScript code would select a script in the Manage Scripts dialog:
      select row 1 of outline 1 of scroll area 1 of window 1

      But the equivalent command in FM14, does not successfully select the script:
      select row 1 of outline 1 of scroll area 1 of splitter group 1 of window 1

      The script looks like it is selected, but it doesn't really select the script so that I can paste a new script via the clipboard, so that the script will appear above it in the list.

      Steps to reproduce the problem

      Run the script in Script Debugger, or via a test harness LiveCode stack file.

      Expected result

      The script would be highlighted, and seen as being selected by FileMaker.

      Actual result

      The script is partly selected (changes to a darker color), but it is not the darker blue color indicating that it is seen as selected by FileMaker. It only turns fully dark blue when a user actually clicks on the script manually in the list.

      Exact text of any error message(s) that appear

      No error message, but FM beeps when I try to paste a script via the clipboard.

      Configuration information

      MacOSX 10.10.4

      Workaround

      I have to prompt my users to click the 1st script in the list manually, then my automated processing can process all of the rest of the scripts.

      FM14_1st_Script_not_fully_selected.png