>hello All-
>
>I am working on a handler that can find a file anywhere on a computer.
>I think this can be done with BuddyAPI, but I'm looking to do it with
>the (free) fileXtra3 instead.
Here's a recursive volume traversal using osutil xtra that I put
together to index the contents of cd's. I think osutil is mac only,
but filextra3 should have similar methods.
-- Traverse dir struct recursively,
-- writing line of info for each visible file.
--
travDir volName
-- Recursion
--
on travDir thisDir
if IsDirectory( gOSutil, thisDir ) then
set dirContents = linesToList( GetFileNamesinFolder( thisDir, 0 ) )
repeat with file in dirContents
travDir thisDir & file
end repeat
else writeString gFile, fileSpecs( thisDir ) & gEOLN
end
I've left out a couple utility handlers, but you get the idea.
Cole
--
Cole Tierney
Laureate Learning Systems
802.655.4755 x17
http://www.LaureateLearning.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]