You requested an insecure resource. Please use this instead: https://coolaj86.com/articles/how-to-control-os-x-system-volume-with-applescript/