Re: If folder does not exist ...
Re: If folder does not exist ...
- Subject: Re: If folder does not exist ...
- From: David Nelson <email@hidden>
- Date: Tue, 11 Jun 2002 16:08:34 -0500
Hello,
Yep. The syntax is not super intuitive but it's doable:
tell application "Finder"
if (exists of folder "MyFiles" of startup disk) is false then
-- Create the folder.
end if
-- continue with my script
end tell
On Tuesday, June 11, 2002, at 03:36 PM, Charles Heizer wrote:
Hello,
This is a Mac OS 9 question...
I want to do a "does not exists" is this posssible ?
If folder "MyFiles" of startup disk does not exist then
make folder "MyFiles"
else
-- continue with my script
end if
_______________________________________________
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.