TI Connect Manager X Scripting Interface Documentation

data size reference [ as type class ]

core  :  dsiz

This script command causes the TI Connect Manager X application to calculate the size, in bytes, of the items referenced, returning a value representing the total size, in bytes, of the object.

The reference, contains an object descriptor containing the object(s) whose sizes are to be calculated.


Examples of using this event are:

set a to data size of files of device 1
set a to data size of every file of folder "main" of device 2
set b to data size of file "testfile" of folder 3 of device 1
set c to data size of ( every file where size is greater than 100 ) of device 3


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

BACK

9 March 2003 - slr