folders and sub-folders strikes again!
folders and sub-folders strikes again!
- Subject: folders and sub-folders strikes again!
- From: "Edmond Cho" <email@hidden>
- Date: Wed, 07 Feb 2001 01:24:27
Thanks to everyone who responded so quickly to my plight. What I ended up
going with was to read a line from a BBEdit list, and look inside a folder's
contents to find a match. I used a repeat loop to search in each sub-folder.
This looks to be doing its job:
if exists (file in thisFolder whose (name as string) contains (thisLineText
as string)) then
display dialog "match found"
--> "Finder"
exists file of folder "done_12-15-00 Delivery TIFFs" of folder "RT ELEVATED
(jeff)" of folder "FALL 01 RED" of folder "PRICEBOOK" of disk "Levis-red"
whose "Finder" contains "55126-5112"
--> false
but I always get a "false" return, even though I loaded my hand.
My next attempt was to make a variable set to every file in thisFolder,
check it, and then loop to the next folder. In this case, I get an error,
can't get file of file of folder "done_..... etc.
Where is the hole in my logic with the first scenario? Thanks again,
everyone.
Ed
email@hidden
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com