• 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: change case script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change case script


  • Subject: Re: change case script
  • From: Bill Briggs <email@hidden>
  • Date: Sun, 4 Nov 2001 00:28:15 -0400

At 11:28 AM -0800 03/11/01, Paul Berkowitz wrote:
On 11/3/01 11:07 AM, "Arthur J Knapp" <email@hidden> wrote:

When I write handlers, I try to always use the save, set, and restore
technique for tids, because I don't like to make any assumtions about
what the "main" calling script is doing with the delimiters, but when
I post "top-level" bits of code, I'm never sure what the best way to
deal with the tids is.


My own policy, taken over from JD of yore, is to restore {""}. I myself do
it specifically to help out users who don't know about this stuff and may
have their tids in a twist due to somebody else's script not restoring the
default correctly. I would not do this in any script meant to run from from a scripter's script editor where other work may be in progress.

Sadly, since AppleScript isn't multi-threaded, not even in X, this isn't likely to be a problem (other work can't be in progress). I wish it was a problem.

- web


  • Follow-Ups:
    • Re: change case script
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: change case script (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: TID speed test (Was Re: change case script)
  • Next by Date: Re: Ticks in OS X
  • Previous by thread: Re: change case script
  • Next by thread: Re: change case script
  • Index(es):
    • Date
    • Thread