Applescript text limit

Hi to all, I am developing an applescript witch is very long! suddenly today when adding more lines to it an error comes out:

Te documento “xxxx.scpt” could not be saved

Is this because I have reached the Applescrip text limit ? is there one?

Brian

The first thing to check is the values of your globals, properties, and run-handler variables at the moment the script finishes. They’re saved with the script and if they’re massive texts or lists, you’ll get such an error. Try setting them to something brief like “” just before the end of the script or, better still, use local variables.

And you have of course to be able to compile it, in order to save it.
It is worth mentioning, just for completion. Not that anybody wouldn’t know. :wink: