• 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
Processing files in nested folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Processing files in nested folders


  • Subject: Processing files in nested folders
  • From: "Martin Dahl" <email@hidden>
  • Date: Tue, 20 Jan 2004 12:30:36 +0100

Hi

I am trying to write a simple AppleScript that process some files located in
a folder on my disk. It should also process files in nested folders. I have
found a script at Apple's site that almost do the job:
http://www.apple.com/applescript/guidebook/sbrt/pgs/sbrt.09.htm

But I have run into some major problems. I can't get info for a file using
the following code:

set theItem to alias "HD:Folder:MyFile.txt"
set theInfo to info for theItem

The computer freeze's every time. Why?

Does anyone have a script that do the trick?

Best regards

Martin Dahl
_______________________________________________
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.

  • Follow-Ups:
    • Re: Processing files in nested folders
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Polish Applescript Book
  • Next by Date: Re: Read - testing for EOF
  • Previous by thread: Polish Applescript Book
  • Next by thread: Re: Processing files in nested folders
  • Index(es):
    • Date
    • Thread