mac script size revisited
mac script size revisited
- Subject: mac script size revisited
- From: Michael Glasser <email@hidden>
- Date: Wed, 9 Apr 2003 15:48:01 -0700
I have a fairly big script... over 5000 lines and about 240KB. When I
try to check the syntax it tries for a few seconds and then does
nothing. When I try in Smile, it gives me an error code -108, which on
Apple's site is listed as "Out of memory".
I have 1.5 GB of mem, am running OS X 10.2.4... I find it hard to
believe that memory is really the problem.
I can remove the last 50 or so lines of the code and the syntax checks
out OK... the same is true for the 50 lines removed. It fails as soon
as I add back any of the several functions that are in those 50
lines... so it does not seem to be based on faulty code.
Ever since I added functions I have not been able to run the code as a
program... runs from the beta script editor just fine, but gave errors
when run as a program.
Any ideas? What is the best way to call functions from another script
if I have to split my code into multiple files?
Any help is appreciated...
_______________________________________________
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.