Feedback

  • Contents
 

Queue.objectChangedHandler Callback Property

Definition

Queue.objectChangedHandler allows you to specify the name of a procedure that will be called when a queue object changes within the queue.

Usage

Read Yes

Write Yes

Compatibility

This callback is compatible with scripts for Scripter .NET Client or Interaction Connect.

Syntax

Queue.objectChangedHandler(TypeId, ObjectId)

Parameters

TypeId

An integer representing the type of object that changed in the queue.

2

Call Object

19

Chat Object

ObjectId

The object's identifier.

Value Assigned

Function Pointer

A function pointer is the address in memory where a user-defined function is loaded. Function pointers pass the address of a function to another function declared within an application. In a script, the function pointer is simply the name of the function. For example, if your code contains a function named "foo", the function pointer would also be named "foo". Function pointers are used when you wish to change the value of a property. When defining your custom function, you should define TypeId and ObjectId as arguments to the function. e.g.: function foo(TypeId, ObjectId).


Example

See queue.callObjectAddedHandler for example code.