• 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
folders and sub-folders strikes again!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Direct character replacement in a string
  • Next by Date: Re: How Protect our solutions (hasp keys)
  • Previous by thread: RE: Scripting Eudora
  • Next by thread: How to set Startup disk in OS 8.1 & 8.0
  • Index(es):
    • Date
    • Thread