TI Connect Manager X Scripting Interface Documentation

count reference [ each type class ]

core  :  cnte

This script command causes the TI Connect Manager X application to count the items requested, returning a value representing the number of objects counted.

The reference, contains an object descriptor containing the object(s) to be counted.


Examples of using this event are:

set a to count of files of device 1
set a to count of every file of folder "main" of device 2
set b to count of devices
set c to count of every unknown device
set d to count of every file where content type is number of device 3


The reply to this event is a descriptor containing a long integer ('long') response, representing the number of items counted by the event, given the reference object specified.

BACK

9 March 2003 - slr