• 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
Apple Script List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Apple Script List
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Changing Spelling Dictionary?
  • Next by Date: Out of the stone age
  • Previous by thread: Re: How to use "do shell script" to search for RegExps
  • Next by thread: Re: Apple Script List
  • Index(es):
    • Date
    • Thread