Reading text files in chunks from multiple scripts
Reading text files in chunks from multiple scripts
- Subject: Reading text files in chunks from multiple scripts
- From: "Kris Rambish" <email@hidden>
- Date: Wed, 13 Jun 2007 15:00:28 -0700
I have several scripts that will open a large text files (5 MB - 20 MB) and read them a paragraph at a time. They then take this text and send it to an application like iChat, Mail, or Word.
What I have noticed is if I run one script that is reading from file 1 it works great. It will even make it to the end of the 20MB file, close the file re-open and run again.
However, if while one script is running I launch another one reading from file 2 only one script will do anything. Both will be "running" but until I stop the one that is doing work it seems like the other is waiting.
Anyone see this before?
Thanks,
Kris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden