reading paragraphs from a file
reading paragraphs from a file
- Subject: reading paragraphs from a file
- From: Alex Morken <email@hidden>
- Date: Thu, 6 Dec 2007 08:49:35 -0800
Hello,
When executing the script below I am getting the following error --
"Cannot get every paragraph of 697". Each time I run the script the
number increases by one. The txt file I am reading from contains 1
line and will never grow beyond that. I am not sure why the number
of paragraphs would be increasing (if that is what it is saying).
set tempdir to "/private/tmp/p.txt"
set fpath to POSIX file tempdir
set f to open for access file fpath
set r to paragraphs of f
display dialog r
set r to nothing
close access f
Thank you,
Alex Morken
_______________________________________________
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