Control attachment macros, Control attachment macros -47 – Clear-Com Logic-Maestro User Manual

Page 113

Advertising
background image

Clear-Com Communication Systems
Eclipse Logic Maestro Instruction Manual

2 - 4 7

CONTROL ATTACHMENT MACROS

These macros are accessed by expanding the ‘Clearcom’ > ‘ScriptLibrary’ >
‘ControlAttachment’ entry in the Available Modules menu.

Macro

Description

Equals (object) [bool]

Tests the equivalence of two objects and returns True or
False. e.g.
bool <result> = <object1>.equals<(object2)>;

GetHashCode () [int]

Returns the hash code of an object previously created
by a control as an integer. e.g.
int <result> = <object>.GetHashCode();

GetType () [Type]

Returns the type of an object previously created by a
control macro. e.g.
Type <result> = <object>.GetType();

ToString () [string]

Returns the string value of an object previously created
by a control macro. e.g.
string <result> = <object>.ToString();

ActivationState [Attachment-
State]

Gets or sets the listen activation state of an object e.g.
<object>.ActivateWithListen = <boolean>;

AttachmentObject [Attachmen-
tObject]

Gets or sets the talk activation state of an object e.g.
<object>.ActivateWithTalk = <boolean>;

Advertising