Re: script to delete .html files from a folder
Re: script to delete .html files from a folder
- Subject: Re: script to delete .html files from a folder
- From: "Adam K. Wuellner" <email@hidden>
- Date: Fri, 5 Nov 2004 11:50:28 -0600
On Nov 5, 2004, at 11:42 AM, Michelle Steiner wrote:
Roger's problem wasn't that he used a string. [...]
The problem is that he didn't traverse the files backwards from the
end.
Actually, it was both.
tell application "Finder"
set thePath to (startup disk as text) &
"Users:rdonaghy:Documents:testScript:"
set theCount to count of items in thePath
theCount is now the number of characters in the string thePath, not the
number of files in that folder.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden