AppleScript for creating a new folder
Yves COPPE
yvescoppe at skynet.be
Wed Jul 9 15:55:01 EDT 2003
Hi james
>
> Here's yet ANOTHER way. I'm running Mac OS X 10.2.5.
> -- ----------------------------------------------
> tell application "Finder"
> set targetfolderpath to "Macintosh HD:Users:cassj:testfolder" --
> "testfolder" already exists
> set newfoldername to "stoopidunderpants"
> if folder (targetfolderpath & ":" & newfoldername) exists then
> --do nothing
> else
> make new folder in folder targetfolderpath with properties
> {name:newfoldername}
> end if
> end tell
> -- ----------------------------------------------
>
> Hope this helps....Cassj
>
>
>
SORRY
IT WORKS.....!!!!!
FANTASTIC
MANY THANKS
also for every user who tried to help me
and special thansk to Scott
I have now 2 good solutions
Greetings.
Yves COPPE
yvescoppe at skynet.be
More information about the use-livecode
mailing list