Apple Script List
Apple Script List
- Subject: Apple Script List
- From: "Dustin Bell" <email@hidden>
- Date: Thu, 22 Apr 2004 04:27:15 -0600
Ok, I need some help with a list that I have. I work for a newspaper and we
archive our pages Daily.
I have Applescript copying the pdfs from one folder on a hard drive to
another folder on a server. Right now applescript creates 6 folders inside
the folder on the server, two out of the Seven days we only have a
two-section paper. So I need to find out how to Word the repeat command
that's below to just use the First two Sections for those two days. Also I
had heard that you can make a list of a folder (ie. Set the_List to {"Item
1", Item 2, "Item 3"} of folder "Untitled Folder"
How exactly would you go about Writing this?
Any help would be great.
-Dusty
set the_folders to {"ASection", "BSection", "CSection", "DSection",
"ESection", "Windsor"} as list
repeat with i from 1 to number of items in the_folders
make new folder at folder theDay of folder theInput of folder "PDF
Archives" with properties {name:item i of the_folders}
_________________________________________________________________
Lose those love handles! MSN Fitness shows you two moves to slim your waist.
http://fitness.msn.com/articles/feeds/article.aspx?dept=exercise&article=et_pv_030104_lovehandles
_______________________________________________
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.