• 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: Bearer of good news
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bearer of good news


  • Subject: Re: Bearer of good news
  • From: Cornwall <email@hidden>
  • Date: Sun, 7 Apr 2002 19:00:38 -0700

This worked correctly on the previously described folder (2393 files and 292 folders). Entire contents seems to be working as advertised, so far.

tell application "Finder"
set evFil to every file of the entire contents of alias "MacHD:Documents:"
end tell

set aNewFil to (path to desktop as string) & "ListFolder"
try
set aRef to (open for access file aNewFil with write permission)
on error
close access file aNewFil
set aRef to (open for access file aNewFil with write permission)
end try
set eof of aRef to 0

repeat with itm in evFil
set strngPath to itm as string
write strngPath & return to aRef
end repeat

close access aRef

set evFil to {} --had to zero it out in order to do a save on the script in script editor
--it must be too big

Corny
_______________________________________________
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: Bearer of good news (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Bearer of good news
  • Next by Date: Re: Help needed
  • Previous by thread: Re: Bearer of good news
  • Next by thread: Installing Applescript guide modules in Mac OS 9.2.2
  • Index(es):
    • Date
    • Thread