AnsweredAssumed Answered

AppleScript Error

Question asked by tonymoody on Dec 10, 2017
Latest reply on Dec 11, 2017 by tonymoody

Since updating to version 16 I have started to get an error message whenever I open a layout. Opening the layout triggers the following AppleScript line..

tell application "System Events" to key code 8 using control down

Basically this is a shortcut to a 3rd party app that centralises active windows on the screen and thereby saves having to create location scripts. As stated this worked fine in version 12 but now results in the error message "Before typing press TAB or click in a field" etc. I have trawled the web for a solution and have tried a script attached to the 'OnLayoutKeystroke' event of the layout (see attached file 'example') but this does not work.

Any help would be appreciated

Attachments

Outcomes