• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: make command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: make command
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Re: More problems with File extensions & Displayed names
  • Next by Date: Applescript versions by OS version
  • Previous by thread: Re: make command
  • Next by thread: Re: make command
  • Index(es):
    • Date
    • Thread