AppleScript for creating a new folder

Yves COPPE yvescoppe at skynet.be
Wed Jul 9 15:46:04 EDT 2003


Hi

>
> 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
>
>
>
>


works FINE
BUT

doesn't resolve my problem : it doesn't support diacritical 
chars...!!!!????
if the new created folder has a diacritical char, the folder is not 
created...

Greetings.
Yves COPPE

yvescoppe at skynet.be




More information about the use-livecode mailing list