Re: Finder acting up
Re: Finder acting up
- Subject: Re: Finder acting up
- From: Emmanuel <email@hidden>
- Date: Wed, 22 Dec 2004 09:22:25 +0100
At 11:34 PM -0700 21/12/04, Michelle Steiner wrote:
On Dec 21, 2004, at 1:36 PM, Autocat wrote:
Also, I spent a great deal of time trying to determine if a folder
exists, and create one if it doesn't. I tried the various "folder
exists" syntaxes to no avail.
This is something where the shell commands can help much, namely "mkdir", look:
set f to (path to desktop) as text
set f to f & "what:ever:folder:name:"
set f to POSIX path of f
-- this makes the folder and any intermediate folder needed (-p option)
do shell script "mkdir -p " & quoted form of f
Emmanuel
_______________________________________________
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