Apple Script with M1 Chip

My MacBook Pro died and I replaced it with MacBook Air with M1 chip. I have a couple Apple Scripts to move files from between folders. The scripts do not work in the new MacBook. Is there something I need to do differently or is this a bug?


Thanks for any help.

John

MacBook Air (2020 or later)

Posted on May 12, 2022 4:38 AM

Reply
Question marked as Top-ranking reply

Posted on May 12, 2022 8:03 AM

I pasted your script in ScriptEditor.


I created a folder "A" with files "a" and "b".

I created an empty folder "B".


In my desktop I createad a text file with two lines with the names of the files.


I started your script, selected the file containing the list, selected the origin folder, selected the destination folder.


It worked as expected.


Note: the first thing I saw was a dialog saying that the script wanted to access files in the Desktop. I allowed it.

Without that, it would not have worked, of course.


So the script does work in Monterey. Now we need to try and figure out why it is not working for you.


Are you launching the script from Script Editor? From Automator? Or as an application on its own?

Similar questions

39 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Apple Script with M1 Chip

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.