Re: Simply deleting a fil
Re: Simply deleting a fil
- Subject: Re: Simply deleting a fil
- From: Michelle Steiner <email@hidden>
- Date: Fri, 17 Apr 2009 06:53:14 -0700
On Apr 17, 2009, at 2:04 AM, Tim Mansour wrote:
Why bother with POSIX paths? Why not just:
tell application "Finder" to delete alias ((path to documents folder
as text) & "__MACOSX")
That's what I was thinking. Or use System Events instead of Finder.
Using Finder puts the file into the trash; using System Events deletes
the file completely.
-- Michelle
--
Life is not a journey to the grave with the intention of arriving
safely in a pretty and well preserved body, but rather to skid in
broadside, thoroughly used up, totally worn out, and loudly
proclaiming, "WOW! What a ride!!!"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden