• 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: "John W. Baxter" <email@hidden>
  • Date: Thu, 16 Sep 2004 20:50:14 -0700

On 9/16/2004 18:50, "Malcolm Fitzgerald" <email@hidden> wrote:

> I was wrong to say that it was Smile :) - Script editor does it too.
>
> Of course, if I simply type "choose folder" it compiles to "choose folder".

Time to say it again, I think.

Generally (that's my escape clause, particularly since I haven't looked at
Smile's code), the editor doesn't format...AppleScript does.  The editor
says "here, compile this text".  Then the editor says "OK, decompile what
you just compiled and give me the styled text".  Then the editor displays
what comes back.  (Things are a bit different in the presence of a
compilation error, but none of us have any of those, so it doesn't matter.)

Among other things, this makes it possible to write a serviceable script
editor without knowing anything about AppleScript syntax.  (It's supposed to
work the same way with other OSA scripting languages as well...which is how
Script Editor can compile a language its developers never saw.)

  --John
 _______________________________________________
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

References: 
 >Re: Count lines in a textfile (From: Malcolm Fitzgerald <email@hidden>)

  • Prev by Date: Re: Count lines in a textfile
  • Next by Date: Identifying "LN" type aliases
  • Previous by thread: Re: Count lines in a textfile
  • Next by thread: Re: Count lines in a textfile
  • Index(es):
    • Date
    • Thread