Re: New Folder if it doesn't exist
Re: New Folder if it doesn't exist
- Subject: Re: New Folder if it doesn't exist
- From: Michael Terry <email@hidden>
- Date: Tue, 11 May 2004 22:02:30 -0700
On May 11, 2004, at 8:09 PM, Dustin Bell wrote:
I would like to write a script that will create a folder on my desktop
if the folder doesn't exist. How would I go about writing that, as I
know that in apple script you must be perferct for it to work.
This is one way:
tell application "Finder" to if not (exists folder "whatever" of
desktop) then make new folder at desktop with properties
{name:"whatever"}
I think hotmail will wrap that though, so make sure that it's all one
line in your script editor.
Mike
_______________________________________________
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.