Checking if a folder exists and dealing with it
Checking if a folder exists and dealing with it
- Subject: Checking if a folder exists and dealing with it
- From: Chad Chelius <email@hidden>
- Date: Wed, 04 Dec 2002 08:17:35 -0500
I have a script that I have been working on for a little while now, and I've
come to an area in the script where it will error on me occasionally. The
snippet below is where the error occurs. What happens is that when it tries
to create a folder with the name "Templates" and that folder already exists,
it errors out on me. How can I put error trapping into my script so that if
this folder does exist, it will simply skip over it and go to the next one.
make new folder in every item of ShortFoundTemplateMatches with properties
{name:"Templates"}
Thanks in advance for your help.
--
Chad Chelius
Systems Administrator
Offset Impressions, Inc.
email@hidden
610-236-4722
_______________________________________________
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.