Applescript Stack Overflow / End of File Errors
Applescript Stack Overflow / End of File Errors
- Subject: Applescript Stack Overflow / End of File Errors
- From: email@hidden
- Date: Wed, 19 Feb 2003 14:50:45 EST
Hi there. I recently had to reinstall my operating system due to a hard drive
problem. I mention that just because I have no idea if that has anything to
do with anything here. I'm running the latest version of OS X.
Yesterday (after the reinstall) I was having intermittent problems with my
scripts, but today NONE of my Apple Scripts will run. If I try to open the
scripts I was using yesterday with Script Editor, I just get the error "Could
not read the file because of an Apple Script Stack Overflow." I've never even
seen this error before, but today that's all I can get. Then, I wrote a new
one (same as one of my old ones, I just created a new copy by retyping it in
the Script Editor). For this NEW script I'm now getting the error, "Could not
run the script, the end of file was reached." It's a script to send email, I
don't know what it's talking about or why, and the same exact script didn't
give me either of these errors yesterday and NEVER gave me any errors with my
old operating system. I've rebooted, I've zapped my pram, I don't know what
to do next. AAAGGH! Help me somebody, please!
Here is the script in question, in case this is relevant.
set max to 90
set n to 90
tell application "Microsoft Entourage"
set allMessages to (every message in out box folder)
try
with timeout of 30 seconds
set n to count allMessages
end timeout
end try
if n < max then
send
set enabled of schedule "SendinChunks" to false
else
set cutOff to time sent of message max of out box folder
send (every message in out box folder whose time sent b $ cutOff)
end if
end tell
I'd be very grateful if someone could help me figure out how to resolve this.
Thanks!
_______________________________________________
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.