The Retrieve Object Record command retrieves a record with all the object fields and values.
Record of object field labels and values. Record: {|field_name_1|: field_value_1, |field_name_2|: field_value_2, ...}. |
Example: Determine if the classification field of two catalog folder type objects are equal.
tell application "Virtual Ticket 8.0"
set natureCatalog to Retrieve Object Record of type "Catalogs"¬
with id "Nature"
set backgrounds to Retrieve Object Record of type "Catalogs"¬
with id "Backgrounds"
set classificationsAreEqual to ¬
|Classification| of natureCatalog¬
= |Classification| of backgrounds
end tell