• 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
if not (exists folder .......
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

if not (exists folder .......


  • Subject: if not (exists folder .......
  • From: "Dustin Bell" <email@hidden>
  • Date: Sun, 10 Jul 2005 17:35:21 -0600

I have a script that has the following in it. What I would like to know is how do I write the if not (exists folder.... command line so the script will continue even if all 5 folders are there?

"set the_folders to {"ASection", "BSection", "CSection", "DSection", "ESection"} as list
repeat with i from 1 to number of items in the_folders
make new folder at folder theDay of folder theInput of disk "PDF Archives" with properties {name:item i of the_folders}
end repeat"



Thanks :) -Dustin


_______________________________________________ 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
  • Follow-Ups:
    • Re: if not (exists folder .......
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: How do you get iCal to run an Applescript
  • Next by Date: Re: if not (exists folder .......
  • Previous by thread: Re: Recursive lock/unlock...
  • Next by thread: Re: if not (exists folder .......
  • Index(es):
    • Date
    • Thread