• 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: General Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >General Questions (From: Scott Lewis <email@hidden>)

  • Prev by Date: Re: Printing pdf via applescript
  • Next by Date: dd: Delay hogs memory
  • Previous by thread: General Questions
  • Next by thread: Re: Path to me (was: "open" command without full path (OS 9))
  • Index(es):
    • Date
    • Thread