I have an applescript written years ago that worked fine until an upgrade to the Mac OS. Now when I run the script, it asks for permission to access the files being imported. There are over 500 files so I would like to avoid having to press Enter 500 times. I know of one person that puts a stapler on the return key just to run the script! Is there a way of getting around Sandbox? Searching the internet, someone suggested converting the path to an alias object and making sure the command is outside of the 'tell application' block. I've tried this (below) with no luck. Does anyone have any other suggestions?
BTW: Someone suggested that the Documents folder was not affected by sandbox and said to try putting files there. This didn't work. Thanks.