Re: Delete file type
Re: Delete file type
- Subject: Re: Delete file type
- From: Christopher Nebel <email@hidden>
- Date: Thu, 11 Sep 2008 10:23:08 -0700
On Sep 10, 2008, at 12:54 PM, Michelle Steiner wrote: On Sep 10, 2008, at 12:38 PM, Michelle Steiner wrote: tell application "Finder" delete (every file of the (path to desktop) whose class is alias file) end tell
Even better:
tell application "Finder" delete (every alias file of the (path to desktop)) end tell
Better still:
tell application "Finder" delete every alias file of the desktop end tell
Why muck around with "path to" if you don't have to?
--Chris Nebel AppleScript Engineering
|
_______________________________________________
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