Re: make command
Re: make command
- Subject: Re: make command
- From: Andy Wylie <email@hidden>
- Date: Wed, 06 Feb 2002 14:39:31 +1300
on 6/2/02 6:51 AM, Emmanuel at email@hidden wrote:
>
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),
me too :-) "make new folder" has kocl:type(cfol)
>
would use "alias dest_1" as the "at" parameter.
ditto, easy to remember and less problematic downstream than file or folder.
_____________________________ Andy