OS X locked down the Application folder a while back. I haven't changed the permissions so it still asks for authorization when I try to remove an app. This will vary by user. But also, when you delete an app, you are the user that may have permission, but when the app does it, I don't think you're the user any more, the app is, and it may not have permissions to alter that folder.

I don't know if the applescript will work but it's worth a try.
--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



On January 5, 2018 2:25:28 PM Graham Samuel via use-livecode <use-livecode@lists.runrev.com> wrote:

Thanks to Klaus and Ken, I know how to address the Mac Applications folder. But when I try to delete an app (which I take to be a folder of the form xxx.app) by script, I get a result “can’t delete that file”. But as a user -admittedly with admin privileges - I can move any app into the trash.

What am doing wrong?

Graham
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to