Re: script object property contamination
Re: script object property contamination
- Subject: Re: script object property contamination
- From: Jon Pugh <email@hidden>
- Date: Wed, 20 Feb 2002 22:17:04 -0800
At 7:07 PM -0500 2/20/02, Anthony Adachi wrote:
>
AppleScript does not have reflection
I don't think this is completely true, but it is essentially true because AppleScript does not have any native reflection techniques. They are only exposed at the system API level.
As I recall, Donald Olson wrote a couple of scripting additions which exposed those APIs to scripters, but I can't seem to find them on my disk here. Ah, a little searching reveals them here:
<
ftp://mirror.apple.com//mirrors/gaea.scriptweb.com/applescript/osaxen/DonaldsCommands.sit.hqx>
These should allow you to reflect on a script's handlers and properties, among other tricks provided by the scripting additions in the set.
Beware, the "properties of" addition interferes with every application that has a "properties" property. It would be wise not to leave that one installed.
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.