RE: Re: Folder Actions
RE: Re: Folder Actions
- Subject: RE: Re: Folder Actions
- From: Dave Balderstone <email@hidden>
- Date: Wed, 18 Sep 2002 09:02:45 -0600
On 9/18/02 at 8:19 AM, Kinsella, John R. wrote:
>
OK, let's take folder actions out of the equation for a moment then. I want
>
to perform a set of actions (fixing some HTML coding) on a folder full of
>
files. But I haven't been able to get the repeat loop right so that it will
>
go through, open each file one at a time and perform the actions I need.
>
Any ideas for that scenario?
Here's code that I've been running for a couple of years (OS 9):
on adding folder items to this_folder after receiving added_items
tell application "Finder"
repeat with theFile from 1 to count of every item of this_folder
--do a bunch of file renaming stuff
end repeat
end tell
end adding folder items to
djb
Dave Balderstone Phone: 306-665-3545
Director, Technical Services Fax: 306-933-3536
Western Producer Publications Saskatoon, SK, Canada
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.