XAccessor is an AppleScript library to make followings possible.
The mechanism of XAccessor is making script objects to access properties at runtime using "e;run script"e; command.
Class methods always generate an accessor object each time when called. The cost of generating an accessor object is expensive. The number of generating accessor objects should be keep minimum. Therefor it should be considered that storing accessor objects returned from make_with(a_name) into variables, and reuse it.
Obtain a value in a record or a property of a script object with specify its label of a text.
Set a value in a record or a property of a script object with specifying its label of a text.
Obtain a value of a global variable specified with a name.
set a value to a global variable specified with a name.
Obtain an accessor object to access a label specified with a text.
get value in an_object
set a value to the property of given object
Get a value of a global variable
Set a value to global variable