reading files
reading files
- Subject: reading files
- From: Nico Gydé <email@hidden>
- Date: Thu, 07 Feb 2002 10:49:34 +0100
I' ve written a small search engine to search for a searchitem inside the name or the content of .txt .doc .rtf. .pdf .htm files.
This works fine if it wasn't that after a few searches my script , while reading data of a file ,terminates with the error " not enough memory". ( I use the event log to see what happens)
I' ve tried giving scriptmaker more memory to work with.
when this failed I saved the script as an application and gave the it 40MB to work with.
I read the data by using the normal commands :
set fileref to open for access file ...
set mydata to read fileref
close access fileref
I also tried by resetting the variable mydata to "" after every read.
It cannot find the commands to control this memory allocation problem.
any help or advice is welkom.
thanks,
Nico
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.