Re: General Questions
Re: General Questions
- Subject: Re: General Questions
- From: Jon Pugh <email@hidden>
- Date: Wed, 26 Feb 2003 23:29:12 -0800
At 7:24 PM -0400 2/26/03, Scott Lewis wrote:
>
Could someone tell me: (1) Is it more efficient in terms of memory to create
>
strings, lists, do calculations, etc. inside a tell block or outside? What I
>
mean is, should a particular app set variables and perform functions only or
>
does it matter?
It is almost always best to limit your tell block to the smallest chunk of script possible. Basically, it should only be around the events you want to send to that application. The "get" and "set" events are the most commonly misdirected events, followed closely by scripting additions.
>
(2) Do scripts run faster when "Finder" is showing, the app is showing or
>
the script is showing? (3) How much memory should be allocated to the
>
script/applet?
Generally, applications run faster in front, but not always. It depends on the application. Sometimes the best speed is when the app is completely hidden.
Jon
_______________________________________________
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.