• 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: check a folder for folders and files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check a folder for folders and files


  • Subject: Re: check a folder for folders and files
  • From: wayne melrose <email@hidden>
  • Date: Thu, 10 Mar 2005 19:47:16 +0100

jan,

tell application "finder"
	set myfolder to choose folder
	set foldercount to count folders of folder myfolder
	set filecount to count files of folder myfolder
end tell


On Mar 10, 2005, at 5:10 PM, Jan-Bultereys wrote:

hi applescript friends,

I am looking for the syntax to do:

1 - check a folder (look at the content)
2 - if there are folders (in this folder) do this......
3 - if there are files (in this folder) do that.....

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


This email sent to email@hidden

_______________________________________________ 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: 
 >check a folder for folders and files (From: "Jan-Bultereys" <email@hidden>)

  • Prev by Date: Re: check a folder for folders and files
  • Next by Date: Strange Script editor behaviour
  • Previous by thread: Re: check a folder for folders and files
  • Next by thread: RE: check a folder for folders and files
  • Index(es):
    • Date
    • Thread