Re: Hello, I'm new here (now there's a classic)
Re: Hello, I'm new here (now there's a classic)
- Subject: Re: Hello, I'm new here (now there's a classic)
- From: Jean-Baptiste Le Stang <email@hidden>
- Date: Fri, 17 May 2002 15:46:23 +0200
There was a mistake, here is the new script :
repeat with x in list disks
ProcessAFileOrFolder(x & ":")
end repeat
on ProcessAFileOrFolder(theFile)
set theFileInfo to info for theFile
if folder of theFileInfo then
-- That's what I modify from Script Debugger Library
tell application "Finder"
open theFile
set view of theFile to name
close theFile
end tell
--
ScanAFolder(theFile)
end if
end ProcessAFileOrFolder
on ScanAFolder(theFolder)
set fileNames to list folder theFolder
repeat with aFile in fileNames
set theFile to (theFolder as string) & contents of aFile
ProcessAFileOrFolder(alias theFile)
end repeat
end ScanAFolder
Jean-Baptiste LE STANG
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.