Re: Delete an Invisible File
Re: Delete an Invisible File
- Subject: Re: Delete an Invisible File
- From: Luther Fuller <email@hidden>
- Date: Thu, 18 Feb 2010 16:29:01 -0600
On Feb 18, 2010, at 3:59 PM, Steve Valenti wrote: I need to create a script to delete an invisible file in a folder. The folder will be on a mounted SMB drive file server. I’m not seeing how I can reference the invisible file since this bit won’t work. tell application "Finder" delete (every file of folder "PathToFolder" whose name is ".DS_Store") end tell
My first quick guess is to use "System Events" instead of "Finder".
|
_______________________________________________
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