Hi Graham,

> Am 05.01.2018 um 21:23 schrieb Graham Samuel via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> 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?

no idea, sorry.

But did you try an with AppleScript?
#####################################################
tell application "Finder"
  delete file "Application name" of folder "Applications" of startup disk
end tell
#####################################################

> Graham

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


_______________________________________________
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