Repeat Loop Skipping Items
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