How can I limit the applications a user can access? [duplicate]

You don‘t need Applescript for this.

  • Open System Preferences
  • Create a new standard or Managed with Parental Controls user account for your brother
  • Enable Parental Control on this account
  • Limit access to the applications you want him to use

I wrote an Automator app that opens zoom and if every second it tells it to open, it keeps it open. enter image description here