• 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 New File in System Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make New File in System Events


  • Subject: Re: Make New File in System Events
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 17 Oct 2005 09:02:22 -0700
  • Thread-topic: Make New File in System Events

On 10/17/05 5:35 AM, "Luther Fuller" <email@hidden> wrote:

> I tried it and if worked. Which brings up another old complaint.
> Nowhere in the System Events dictionary does it say anything about
> adding the words
> "end of files of". Either the dictionary is badly written or System
> Events is broken or both.

Not exactly. 'make' in the Standard Suite says, as in every application:

    at - location reference : the location at which to insert the element

The 'location' has to be specified in this case, either 'at the end of
[elements of a container]' , or 'at the beginning of [elements of a
container]' to really specify the location. Apparently that's "how it is" at
the deeper object model level. But developers experienced with implementing
AppleScript know that they can make it work for 'at [a container]'.
(Presumably that's coerced to the 'end of elements' at that container under
the hood.) i believe that Cocoa apps originally couldn't even do this
coercion until Panther (according to Chris Nebel, who should know), but it's
been possible for the coercion to be made since that time. Unfortunately,
loads of Apple developers did not correct this. Address Book has done so in
Tiger, iCal has not, System Events has not. It's a horrible nuisance, but I
don't think exactly a bug. I sure wish they'd all fix it, though. Like
needing the explicit 'get' for almost everything...


--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Make New File in System Events
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: Make New File in System Events (From: Luther Fuller <email@hidden>)

  • Prev by Date: FM to Word
  • Next by Date: iMovie HD a lovely shade of grey in the library.
  • Previous by thread: Re: Make New File in System Events
  • Next by thread: Re: Make New File in System Events
  • Index(es):
    • Date
    • Thread