Re: make command
Re: make command
- Subject: Re: make command
- From: Emmanuel <email@hidden>
- Date: Tue, 5 Feb 2002 18:51:02 +0100
At 9:39 AM +0100 5/2/02, Jim Brandt wrote:
>
>
Can some tell me what's wrong with this:
>
>
tell application "Finder"
>
activate
>
set dest_1 to "Macintosh HD:Misc:Descriptions:"
>
set fld_name to "200203"
>
make folder at dest_1 with properties {name:fld_name}
>
end tell
>
>
The event log shows:
>
>
tell application "Finder"
>
activate
>
make at "Macintosh HD:Misc:Descriptions:" with properties
>
{name:"200203"} new folder
>
--> Finder got an error: Invalid key form.
I would use "make new folder" instead of "make folder" (weird as it can
look, we have observed some differences between the two syntaxes), and I
would use "alias dest_1" as the "at" parameter.
Emmanuel