• 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: Work the Scripting Addition without restarting....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Work the Scripting Addition without restarting....


  • Subject: Re: Work the Scripting Addition without restarting....
  • From: "J.B. Stewart" <email@hidden>
  • Date: Sat, 10 Nov 2001 04:56:30 -0500

On 11/9/01 at 3:07 PM, Jon Pugh <email@hidden> wrote:

> At 8:33 AM -0800 11/9/2001, Brian Johnson wrote:
> >However, before I add a "run script '5'" to all my CGI run handlers, is there
a downside to doing this?
>
> Time and memory.
>
> It takes time, a potentially considerable amount, as well as a large chunk of
memory, so if either are in short supply (and they
> always are) then you should be careful about when you do this.
>
> Specifically, you should probably only do this when you actually need to
install a scripting addition, which is when the time and
> memory hit will be acceptable in exchange for the functionality.
>
> As an esoteric detail, I should point out that if a scripting addition stores
any info in its refcon, reloading the scripting
> additions will probably overwrite the refcon, resulting in a leak. For
example, my "set cursor to" scripting addition keeps the
> acur resource (detached) in its refcon for busy cursors so that it knows which
cursor to switch to next. I don't know of any
> other scripting additions which do this sort of thing, as it is mildly skanky.
>
> Jon
> _____


This might prove to be of less impact -
<< = ASCII number 199, >> = ASCII Number 200

try
tell me to <<event ascrgdut>>
on error
--
end try

John


References: 
 >Re: Work the Scripting Addition without restarting.... (From: Jon Pugh <email@hidden>)

  • Prev by Date: Re: Convert a string into a list without Delimiters
  • Next by Date: Re: Any scriptable apps to get text from pdfs under X 10.1?
  • Previous by thread: Re: Work the Scripting Addition without restarting....
  • Next by thread: Re: Work the Scripting Addition without restarting....(SOLVED)
  • Index(es):
    • Date
    • Thread