• 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: Finder Scripting Speed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Scripting Speed


  • Subject: Re: Finder Scripting Speed
  • From: Laine Lee <email@hidden>
  • Date: Tue, 02 May 2006 11:19:42 -0500
  • Thread-topic: Finder Scripting Speed

On 5/1/06 9:57 PM, "deivy petrescu" <email@hidden> wrote:

> set the scans_folder to (choose folder with prompt "Pick the folder
> containing the scans you want to log:")
> set folder_record to {}
> tell application "Finder"
> set allFolders to every folder of entire contents of folder
> scans_folder
> repeat with someFolder in allFolders
> set someFolder to contents of someFolder
> set ctfls to count of files in someFolder
> set end of folder_record to {folder_name:someFolder as string,
> file_count:ctfls}
> end repeat
> end tell
> folder_record


> set allFolders to every folder of entire contents of folder

should perhaps be

set allFolders to every folder of entire contents of scans_folder


Laine


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Finder Scripting Speed (From: deivy petrescu <email@hidden>)

  • Prev by Date: Re: Good book on advanced AppleScripting?
  • Next by Date: Re: Finder Scripting Speed
  • Previous by thread: Re: Permanently deleting items with Finder.
  • Next by thread: Re: Finder Scripting Speed
  • Index(es):
    • Date
    • Thread