• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Folder Actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Copying from one list of files to another
  • Next by Date: Re: Unicode to plain text
  • Previous by thread: Re:Re:Folder Actions
  • Next by thread: RE: applescript-users digest, Vol 3 #863 - 17 msgs
  • Index(es):
    • Date
    • Thread