Hey there. I have had some automation set up to automatically play when logging in. The AppleScript is this.
tell application "QuickTime Player"
set theMovie to open file "Users:user:Movies:Film1 Startup.mp4"
tell theMovie
set the presenting to true
set the looping to true
play
end tell
end tell
the script works just fine when I test it in Automator but when I actually log in to the system I get this error message
“the action “run AppleScript” encountered an error: Not authorized to send Apple events to QuickTime player”
Can anyone help me find a way around this? Also bonus points to anyone who knows how to make the QuickTime progress bar automatically hide when this script is ran.
Thank you.