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

Re: Atomic scripts


  • Subject: Re: Atomic scripts
  • From: has <email@hidden>
  • Date: Tue, 6 Aug 2002 23:16:27 +0100

Paul Skinner wrote:

> Have you ever wanted to avoid some OSAX intruding on your script
>and quietly coercing things or the like? Do you hate all OSAX even that
>darn 'Standard Additions'? If so, then get some counseling. But if you
>just want to isolate a script from all additions you can try this...
>
>property parent : me

Not entirely sure I like the look of that there 'me' ("Object Becomes Its
Own Parent!" sounds like a heading from the Weekly World News:). However,
you can just as easily get the same effect from using something like:

property parent : missing value


Whether there's any issues to be had with messing with the Natural Order Of
Things in this way, I dunno; I doubt anyone outside of the AS team could
really tell you for sure. I don't think this sort of use of the parent
property is really documented (though I might be wrong; anyone else know if
it is?), so I guess if it jumps up and bites you one day it'll be your own
fault; otoh, I've also done this sort of thing myself, so I'm the last
person you should look to for responsible adult advice.:)

Meantime, I'm fervently hoping X.2's replacement to Scripting Additions
will make all the current horrors go away. Anyone for a prayer vigil?:)

has

--
(My email address has changed from <email@hidden> to
<email@hidden>. Please update your address books accordingly.)
_______________________________________________
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.

  • Prev by Date: Re: URL parsing [was Re: "+" and "-" are numbers.]
  • Next by Date: Re: Atomic scripts
  • Previous by thread: Re: Atomic scripts
  • Next by thread: Re: Atomic scripts
  • Index(es):
    • Date
    • Thread