Applescript for creating a new folder

Trevor DeVore lists at mangomultimedia.com
Wed Jul 9 15:01:00 EDT 2003


On 7/9/03 Yves COPPE wrote

>Hi Trevor
>
>> You can check if a folder exists like this:
>>
>> tell application "Finder"
>>     if not ("Macintosh HD:users:tdevore:tést" exists) then
>>         make new folder at "Macintosh HD:users:tdevore" with 
>> properties {name:"tést"}
>>     end if
>>     make new folder at "Macintosh HD:users:tdevore:tést" with 
>> properties {name:"tésting"}
>> end tell
>>
>>
>
>It further create a folder on my desktop....

Hmmmm.  Désolé, mais I am no AppleScript expert (just barely learning) so I don't know what the problem is.  It works here.  Scott seemed to have a solution however.

Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the use-livecode mailing list