• 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
Re: Hello, I'm new here (now there's a classic)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Hello, I'm new here (now there's a classic) (From: Jean-Baptiste Le Stang <email@hidden>)

  • Prev by Date: Re: Need help writing some AppleScripts!!! Please help!
  • Next by Date: Re: deep archives
  • Previous by thread: Re: Hello, I'm new here (now there's a classic)
  • Next by thread: Re: Hello, I'm new here (now there's a classic)
  • Index(es):
    • Date
    • Thread