Add osascript to accessibility. You can see it when you choose ‘Open ...