• 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
Recursing through folders and files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recursing through folders and files


  • Subject: Recursing through folders and files
  • From: Jim Weisbin <email@hidden>
  • Date: Tue, 25 Apr 2017 08:09:01 -0400

Apple has example code for recursing through folders and files, looking for certain files to process, here:

https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/ProcessDroppedFilesandFolders.html

I want to add a counter for the number of folders and files processed. When the program terminates, I want to display a dialog box showing the counts. Problem is, I don’t know where to insert that code. I can’t insert it at the end of the “open” handler, because it recurses, so know way to know when I am at the end.

Jim Weisbin | C.T.O. | Human | Post Human | 27 West 20th Street | Suite 801 | New York, NY | 10011 |  (212) 352-0211 |  (917) 375-2272 | Los Angeles Office | 2046 Broadway | Santa Monica, CA | 90404 |  (310) 264-0211 telephone | www.humanworldwide.com



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: 'Delete' in Mail?
  • Next by Date: Another 'Mail' hassle
  • Previous by thread: 'Delete' in Mail?
  • Next by thread: Another 'Mail' hassle
  • Index(es):
    • Date
    • Thread