Setting contents of a large file to a variable.
Setting contents of a large file to a variable.
- Subject: Setting contents of a large file to a variable.
- From: Kumar Shailove <email@hidden>
- Date: Thu, 25 Nov 2004 13:11:32 +0530
Hi list,
I need to manipulate text contained in a very large text file ~ 30-40 MB for
this I have set the contents of the file to a variable and then manipulate
that variable and once the variable has been manipulated, I again save the
file.
I have written following script for that:
Set x to open for access "myfile.txt"
Set myText to read x as text
Close access x
But it gives me the error: Out of Memory.
Any alternative methods to do it?
Thanks in advance.
_______________________________________________
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