Re: Re: Creating folders (directories) without the Finder
Re: Re: Creating folders (directories) without the Finder
- Subject: Re: Re: Creating folders (directories) without the Finder
- From: email@hidden
- Date: Thu, 22 Mar 2001 00:41:17 EST
>
At 22:33 -0500 03/21/2001, I wrote:
>
> Is there a way to create a named folder without invoking the Finder? The
>
> Finder is too slow and sometimes chokes, leaving a slew of untitled folders
>
> around. I need something bulletproof and fast. TIA.
and Christopher Stone responded
>
Akua Sweets can do that:
<snip>
Boy, ask for a sandwich and get a 7 course gourmet meal!
My question applied to a piece of a piece of my ever evolving shopping cart
CGI suite, cartHandle. What I really needed was a way to verify that a folder
existed and create its full path if it did not. I had a venerable but
occasionally unpredictable plain vanilla handler trio that has performed that
task for me, but I discovered Akua has the very wonderful "verify path"
command.
set t1 to the ticks
verify path "HD:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z"
set t2 to the ticks
set t0 to t2 - t1
display dialog t0 as string
Blazing fast (over 1000 folders a second in more detailed tests), one line of
code rather than 24, and I should expect, rock solid stable. Exactly what I
need. Thanks a bunch!
Jeff Baumann
email@hidden
www.linkedresources.com
The most useful class I ever took was typing.