Stop this popup when running a script on mac

Hi everyone

How do I stop this annoying popup on Catalina when I use a script?

“This script needs to control other applications to run.”

It’s driving me crazy.

Maybe you must turn on Full Disk Access for your script if it’s saved as an application.
If it’s saved as a script the requirement may apply to Script Editor or to Script Debugger according to your used editor.

Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) mardi 23 juin 2020 18:32:03