Re: Setting contents of a large file to a variable.
Re: Setting contents of a large file to a variable.
- Subject: Re: Setting contents of a large file to a variable.
- From: Rob Stott <email@hidden>
- Date: Thu, 25 Nov 2004 08:36:03 +0000
On 25 Nov 2004, at 8:26 am, Andrew Oliver wrote:
The easiest change to your existing script would be to process the
file in
chunks.
Andrew's method works and is the way most folks get round this in
AppleScript. Depending on what you want to do, it may also be worth
your while investigating how to use 'do shell script' to manipulate a
text file (read up on Unix commands, cat, grep, tr and sed).
Not sure which of these (applescript/shell) is TECHNICALLY the best way
of doing it, but personally I find working with 'do shell script' a lot
easier.
Just my two-penneth!
r.
_______________________________________________
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