• 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: 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


References: 
 >Re: make command (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: File extensions & Displayed names
  • Next by Date: Re: applescript --> apple event
  • Previous by thread: Re: make command
  • Next by thread: Re: Set application preferred memory size (was Re: (no subject))
  • Index(es):
    • Date
    • Thread