Retrieve Object Record

Retrieve Object Record

The Retrieve Object Record command retrieves a record with all the object fields and values.

Retrieve Object Record

of type object_type

with id object_id

 

Result: list_of_field_values


 

Arguments

Type

Description

object_type

String

The name of the object type to be added (e.g. Job}.

object_id

Integer or String

The unique object ID.

list_of_field_values

Record

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


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.