Re: Count lines in a textfile
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