Applescript for creating a new folder

Trevor DeVore lists at mangomultimedia.com
Wed Jul 9 13:42:01 EDT 2003


On 7/9/03 Yves COPPE wrote

>Hi,
>
>No sucess with my problem for creating a new folder with applescript
>
>that is my script
>
>
>tell application "Finder"
>   set tPath to "HD Macintosh/users/<myname>/test/testing"
>   make new folder to tPath
>end tell
>
>doesn't work ?????

I think your syntax might be incorrect.  Try:

tell application "Finder"
    make new folder at "HD Macintosh:users:<myname>:test" with properties {name:"testing"}
end tell


Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the use-livecode mailing list