• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Reading text files in chunks from multiple scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: [OT] UNIX heads; can I do this?
  • Next by Date: Re: [OT] UNIX heads; can I do this?
  • Previous by thread: Re: [OT] UNIX heads; can I do this?
  • Next by thread: QuarkXPress Script
  • Index(es):
    • Date
    • Thread