jeudi 25 août 2022

Quicktime Error opening random files using simple apple script

I'm getting the following error: "The file isn’t compatible with QuickTime Player."

When using this script:

tell application "Finder"
    
    set random_file to some file of entire contents of folder "Movies" of home
    open result
    
end tell

However, I am able to open the file from the finder manually and once I do the script works on just that file. The problem is I have thousands of files and don't want to open each one manually for the script to work again. Have not had this problem with the script in the past.




Aucun commentaire:

Enregistrer un commentaire