Many thanks! I have made the script as instructed, and did not receive any popup requiring enabling of permissions. I still have this error
Topic:
App & System Services
SubTopic:
Automation & Scripting