• 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: Count lines in a textfile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Count lines in a textfile


  • Subject: Re: Count lines in a textfile
  • From: Jon Pugh <email@hidden>
  • Date: Fri, 17 Sep 2004 16:18:52 -0700

At 12:10 PM -0700 9/17/04, Christopher Nebel wrote:
>I don't know about the "preferred null object" bit

AppleScript uses {} for null in a number of places, like the default text item delimiters, for example.  I think it's a LISP thing.  ;)


>>The Apple Event Manager actually has a way to handle this, and it appears that these osaxen aren't using it.  The technique is to ask for each parameter and then ask for the "did I miss any parameters" attribute, keyMissedKeywordAttr (there's a dynamic attribute for you, has!) which returns errAEDescNotFound if you got all the parameters and noErr if you have missed any required parameters.
>
>Not any more, it doesn't.  As of 10.2, asking for keyMissedKeywordAttr will always return errAEDescNotFound.

Two steps forward, one step back.

Jon
 _______________________________________________
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: Count lines in a textfile
      • From: "John W. Baxter" <email@hidden>
References: 
 >Re: Count lines in a textfile (From: Paul Berkowitz <email@hidden>)
 >Re: Count lines in a textfile (From: Malcolm Fitzgerald <email@hidden>)
 >Re: Count lines in a textfile (From: Joseph Weaks <email@hidden>)
 >Re: Count lines in a textfile (From: Malcolm Fitzgerald <email@hidden>)
 >Re: Count lines in a textfile (From: Joseph Weaks <email@hidden>)
 >Re: Count lines in a textfile (From: Jon Pugh <email@hidden>)
 >Re: Count lines in a textfile (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Pointers requested for first-time InDesign scripter
  • Next by Date: Why does this crash Script Debugger?
  • Previous by thread: Re: Count lines in a textfile
  • Next by thread: Re: Count lines in a textfile
  • Index(es):
    • Date
    • Thread