cardNames

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
get the cardNames of {group | stack}
Associationsgroup, stack
Summary

Lists the short name property of all the cards in a stack, or all the cards that contain a specified group.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
put line 1 of the cardNames of this stack into firstCard
go card (line x of the cardNames of group "Stats")
Values
NameTypeDescription
Value

The cardNames of a stack consists of a list of all the cards in the stack, one per line. The cardNames of a group consists of a list of all the cards that the group is placed on, one per line. This property is read-only and cannot be set.

RelatedKeyword: card, line
Property: name
Message: nameChanged
Command: group
Object: card, stack
Glossary: property, nest, group
Description

Use the cardNames property to list the cards in a stack.

Each line of the cardNames contains the short name of a card.

The cardNames of a group only reports card names for top-level groups (that is, groups that are not contained in another group). The cardNames property of a nested group always reports empty.

Tagsobjects