Applescript for creating a new folder

Yves COPPE yvescoppe at skynet.be
Wed Jul 9 10:51:01 EDT 2003


Hi Trevor

> You can check if a folder exists like this:
>
> tell application "Finder"
>     if not ("Macintosh HD:users:tdevore:tst" exists) then
>         make new folder at "Macintosh HD:users:tdevore" with 
> properties {name:"tst"}
>     end if
>     make new folder at "Macintosh HD:users:tdevore:tst" with 
> properties {name:"tsting"}
> end tell
>
>

It further create a folder on my desktop....

Greetings.
Yves COPPE

yvescoppe at skynet.be


More information about the use-livecode mailing list