MACSCRPT Archives

May 2003

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"John A.M. Darnell" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 21 May 2003 09:39:13 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (63 lines)
For those of us less experienced in the Apple world, who is "Tanaka" and
where can I get his/her OSAX to review?

R,

John A.M. Darnell
Software Development
In honor of THE MATRIX RELOADED:
In the first movie, close to the climax, Keanu Reeves and Carrie Ann Moss
take a harrowing express ride up an elevator by explosively disconnecting
the counterweight.  Just before activating the detonator, Reeves says
something.  What was it that he said?







Eric Schult <[log in to unmask]>
Sent by: Macintosh Scripting Systems <[log in to unmask]>
05/21/2003 09:18 AM
Please respond to Macintosh Scripting Systems


        To:     [log in to unmask]
        cc:
        Subject:        Re: OS X alternative to Tanaka's


On Sat, 17 May 2003 23:48:45 -0700, Walter Ian Kaye <osas@NATURAL-
INNOVATIONS.COM> wrote:

>I usually used Tanaka's osax for MT Replace, but Extra Suites has a
>replace command (not case sensitive, though -- gotta see if he'll add
>that).
>
>What exactly did you use the read/write commands for? maybe we can
>help you duplicate the functionality...

I like Tanaka's for its ability to readFromFile in one line of code,
without
having to open for access and close access (and having to worry about
leaving
the file busy if there's an error before the close access line is
reached).
It's just a quibble, really; it's what I'm used to.

The same argument for writeToFile in Tanaka's. It's just cleaner. AND I'm
admittedly fretting the thousands of lines of code I'm going to have to
edit
in the absence of Tanaka's. Oh, well. I guess Open for Access it is.

I kinda hoped somebody would chime in with the prospects of doing the same
thing with command line scripting. I'm no UNIX geek or anything, but what
little I've heard suggests a write to file command can be accomplished in
the
terminal. I just don't know the syntax. Is it truth or fiction that
command
line scripts like that offer exponentially better performance?

WES

ATOM RSS1 RSS2