Re: Get filestructure in a variable
Re: Get filestructure in a variable
- Subject: Re: Get filestructure in a variable
- From: Andrew Oliver <email@hidden>
- Date: Mon, 23 Oct 2006 01:52:53 -0700
On Oct 23, 2006, at 1:42 AM, Jan Bultereys wrote: Hi, This is what I have: property theServer : "/Volumes/BEL_COMMUNITY/IMAGE_SERVER2/" property theFolders : {"00000-10000/", "10000-20000/", "50000-60000/", "80000-90000/", "LOGO/"} So the structure of my folder is: Volumes/ BEL_COMMUNITY/IMAGE_SERVER2/00000-10000/ Volumes/ BEL_COMMUNITY/IMAGE_SERVER2/10000-20000/ ..... When someone creates an additional folder I have to specify this manualy in the variable “theFolder”.... Is there a why to grab this in the folderstructure and get this back to the variable theFolder?
You mean like:
... set theFolders to name of every folder of folder theServer
This will give you a list of the folder names in theServer.
|
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden