• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: My ASObjC app keeps crashing.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My ASObjC app keeps crashing.


  • Subject: Re: My ASObjC app keeps crashing.
  • From: Brian Christmas <email@hidden>
  • Date: Sat, 31 Jan 2015 10:29:59 +1100

G’day Shane.

Thanks for your reply. I owe you big time for your continued assistance.

I’m hoping you (or anyone), won’t mind answering several questions for me.

1. My scripts are heavily documented. I want someone else to be able to understand my code if I ever get hit by a bus. Will the compiled script be any smaller if I remove the commenting?

2. My number of properties is considerable. In fact, after I read a note on MacScripter, I only use properties and not global variables. Would changing some properties to globals possibly free up whatever is causing my crashing?

3. I have two scripts that I think  (with my limited knowledge on libraries) be able to be converted to libraries. Would using libraries free up the complied or running script (or whatever it’s called) space so hopefully avoiding the crash?

4. I have experimented with my main script, and it seems that anything over 200 KB in size won’t compile. I know you’ve told me that I should limit my scripts to about 1800  lines (I’ve sometimes gone up to 6,500, before splitting them), but restricting to 1,800 lines would mean 3 more split up scripts. Splitting my main script even further will be difficult, there’s a lot of subroutines that use properties. Would splitting them up possibly stop my crashing?

5. Cannot find the answer anywhere to this, do global variables persist between main and secondary scripts, please?

I’ve purchased your Everyday_AppleScriptObjC_2ed, and am about to start reading it.

Regards

Santa

Script 1. 	176 KB 	4360 lines
Script 2. 	70 KB 	1315 lines
Script 3. 	106 KB 	2557 lines
Script 4. 	49 KB 	1168 lines
Script 5. 	57 KB 	1112 lines
Script 6. 	37 KB 	775 lines

Total 	495 KB
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: My ASObjC app keeps crashing.
      • From: Shane Stanley <email@hidden>
References: 
 >My ASObjC app keeps crashing. (From: Brian Christmas <email@hidden>)
 >Re: My ASObjC app keeps crashing. (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Scriptable application can not return record data
  • Next by Date: Re: Scriptable application can not return record data
  • Previous by thread: Re: My ASObjC app keeps crashing.
  • Next by thread: Re: My ASObjC app keeps crashing.
  • Index(es):
    • Date
    • Thread