Internal table overflow

I’m having a strange issue. I opened a droplet that I’ve used every day for years, and occasionally update. It works just fine.

I made a minor change and when I try to compile I get this:

AppleScript Compile Error
Internal table overflow.
-2,707

The script compiles and runs fine in ScriptEditor.

I’ve quit SD twice and the problem with this script persists.

Any suggestions? My next option will be to restart the mac, but I’ll hold off for a while in case you want me to do a sample or something.

–> Script Debugger 7.0.11 (7A106)
–> Mac OS 10.11.6 (15G31)

This error always indicates that your script has grown too large. Whenever this error is reported, consider AppleScript broken and you should quit Script Debugger and relaunch as soon as you’ve saved your work.

Your script will work in Script Editor for a while because Script Debugger imposes greater demands on AppleScript. However, your script is nearing the limit for Script Editor as well and its only a matter of time before you start seeing the Internal Table Overflow error there too.

It is a long script. Would reducing the character count help, or is it mostly the stuff below the surface that causes the issues?

A post was split to a new topic: Code Folding Failure