I have a couple of cards that each navigate to the same (third) card.
In the scripts that go to that card, I use 'push card' to store where I came from. Then I use 'pop card' to go back.
I want slightly different behavior based on which card I am coming from. The most obvious and simplest way would seem to utilize the list that 'push' and 'pop' use and just check the card on the top of the list. I can't find anything in the documentation to indicate this is possible. Is that list available ... Anyone know?
I know that I could set a custom prop somewhere but if this information is already stored by the system (which it is) and is accessible (that's my question), why duplicate it?
Thanks in advance.
push and pop -- access to the 'last' card?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: push and pop -- access to the 'last' card?
Leston...
'Push' & 'pop' will do what yow wish... but wanting to get the name of the card, have a look at 'recentcards' in the dictionary...
Dixie
'Push' & 'pop' will do what yow wish... but wanting to get the name of the card, have a look at 'recentcards' in the dictionary...
Dixie
Re: push and pop -- access to the 'last' card?
That's what I was looking for. Thanks Dixie!
BTW ... Seems curious that the recentCards property is not in the 'See Also' section of the Push and Pop entries in the Dictionary.
BTW ... Seems curious that the recentCards property is not in the 'See Also' section of the Push and Pop entries in the Dictionary.
Leston