recentCards

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
get the recentCards [of <stack>]
Associationsstack
Summary

Reports the long ID properties of recently visitedcards.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
do "go" && line 2 of the recentCards -- equivalent to "go recent 2"
Values
NameTypeDescription
Value

The recentCards is a list of long ID properties of cards, one ID per line. If a stack is specified, the list contains only the recent cards in the specified stack. If not, all recent cards are listed.

RelatedKeyword: card, line
Property: ID
Command: unlock recent
Object: card
Glossary: recent cards, property, current card
Description

Use the recentCards property to find out which cards the user has visited, or to re-visit a card.

The recentCards are listed in reverse order, with the current card at the top of the list, the most recently visited card next, and so on. Each visit to a card causes its ID to be placed at the top of the list, even if the same card appears elsewhere in the list. The recentCards thus provides a complete track of the visitor's navigation.

Cards visited while the lockRecent property is set to true are not added to the list.

Tagsnavigation