KCMS Test Suite User's Guide

SETATTR: Keywords and Values

Table 3-19 presents the SETATTR: command keywords and their descriptions.

Table 3-19 SETATTR: Command Keywords

Keyword 

Description 

Reference=

Is the name that was assigned when the profiles were loaded, created, or connected. 

Attribute Tag=

Is the name of the attribute that is to be manipulated by this command. For a list of all the attribute names and examples of how to set values for them, see Chapter 5, Setting Attributes .

Attribute Value=

Is the value to be applied to the attribute identified in the Attribute Tag= keyword. If the attribute type is a string, insert the string after the command and follow it with a semi-colon. If the attribute type is an integer or a float value, enter the corresponding string value into the script and follow it with a semi-colon. If more than one value is required, separate the values with commas (,). Finally, if the attribute type is an enumerated type, see Chapter 5, "KCMS Profile Attributes," in the KCMS Application Developer's Guide for a description of the enumerated types. See Chapter 5, Setting Attributes ," in this guide, for examples of setting attributes.

XStatus=

The default expected status is KcsSuccess. If the script command is expected to complete successfully, the XStatus= keyword is not required. In cases where a script command is expected to return a non- success status, the XStatus= is followed by the corresponding expected, non-success status in hexadecimal format.

Count=

Is the count of data values (of type AttributeType=, where appropriate) found after the Attribute Value= keyword when creating a new attribute for an ICC profile.