Re: Folder Actions
Re: Folder Actions
- Subject: Re: Folder Actions
- From: Michelle Steiner <email@hidden>
- Date: Wed, 18 Sep 2002 18:13:41 -0700
On Wednesday, September 18, 2002, at 06: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?
This is untested, but it should work.
set foo to choose folder
repeat with the fileToProcess in foo
tell application "application name"
open the fileToProcess
--code for fixing html goes here
save foo
end tell
end repeat
--Michelle
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.