Sally: Plugins: Automation: Reference

Items Collection

Represents a collection of Item objects within a panel.

Properties

Name Description
Count Gets the number of items in the collection.
Item Gets an item for the specified key.

Example

VBScript

Dim TotalSize
TotalSize = 0
for each Item in Salamander.SourcePanel.Items
  TotalSize = TotalSize + Item.Size
next
Salamander.MsgBox("Total size of all items in the panel: " +
  CStr(TotalSize) + " bytes")

See Also

Item Object