• 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
Repeat Loop Skipping Items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Repeat Loop Skipping Items


  • Subject: Repeat Loop Skipping Items
  • From: Steve Suranie <email@hidden>
  • Date: Fri, 8 Jun 2001 15:53:10 -0400

Has anyone had this happened before. I am running a script that checks a
folder that allows the user to select a folder. The script then loops
through all the items of the folder and if they are a TEXT type, opens them
in Tex-Edit Plus and copies the contents into an existing file. The script
read each file sequentially just like it was designed to. Good script.

However, I then wanted to move the aforementioned read articles out of the
folder to a seperate folder. When I added that bit o script the script
continued to move sequentially through the files but in leaps of four or so.
It did move those files it read but as I explained to my computer in no
uncertain terms, that's not what it was designed to do. Bad script.

Anyway, in scripting AppleScript terms I'm a relative newbie, (a few months)
so I'm curious if anyone else has suffered through this and could send a
tip/explanation to me how to fix this? (And lets not blame the programmer,
right, we all know its the computer doing this) ; )

Mucho gracias

Steve


  • Prev by Date: Re: Retrieving properties
  • Next by Date: Finder Application Menu
  • Previous by thread: Re: Dialog Director complexities [WAS: Re: Newbie Question - Hidden Password]
  • Next by thread: Re: Repeat Loop Skipping Items
  • Index(es):
    • Date
    • Thread