Error getting tags :
error 404Error getting tags :
error 404 this | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
this
Basics
Expander triangle
Type
Keyword
Syntax
See Also
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Indicates the current stack, or the current card of the current stack.
Examples

put the name of this card into currentName
sort cards by the mark of this card
send preOpenStack to this stack

Additional Comments
Expander triangle

Use the this keyword to indicate the current card or current stack in an expression.

Comments:

When used in a sort command, the this keyword indicates each card to be sorted. You can use the this keyword to sort cards by a card property.

User Comments
Expander triangle
User thumbnail
Peter Brigham
StarStarStarStarStar
Mar 14, 2010
A related undocumented property is "the currentcard of <stackReference>", which returns the short name of the currently showing card in any open stack. "This card" and "the current card" are equivalent to "the currentcard of the topstack."
User thumbnail
Peter Brigham
StarStarStarStarStar
Jan 4, 2011
You cannot refer to this card of stack "myStack" to get the currently showing card of a stack other than the topstack, but you can use the currentcard of stack "myStack" which will give you the same result as if myStack were the topstack and you referred to "the short name of this card." "The currentcard" is an undocumented term, and it may be deprecated, but it continues to work through version 4.5.