I have a few applescripts and get the the error message: “The script could not be run. The end of file was reached.” on some of the scripts, but not all of them. The scripts will run just fine out of the script editor.
Has anyone seen this before or know of a solution?
I’ve seen that error when I’ve had additional quote marks added to a script.
If you could post the code of one of your scripts that is getting the error, maybe someone could chime in with a quick fix.
I don’t have Entourage but I think it might have something to do with the way the script is saved. You might want to explore the various options presented when saving a script.
tell application "Microsoft Entourage"
display dialog "HElP!"
end tell
This is example code that doesn’t work (shows the error). Anyone know if Entourage supports running scripts with the code saved in the data fork as opposed to the resource fork?
This is what I was referring to. I’d try it both ways to see if one of them solves the problem.
The solution is to check the web site and always download the latest updates, not matter if yu think you need them or not.
This bug was silently fixed in the Office X 10.1.2 Update.