How to check what card a stack is currently viewing
dburgun at dsl.pipex.com
Thu Dec 1 16:30:09 CST 2005
>get the Name of this stack
>-- what you see in the stack inspector
>--stack "Showcase Functions" (which could be a main or sub stack)
Except if you are running in a Function in the stack script that has
been called by another stack in this case it returns the name of the
calling stack. To always get the name of the stack you are executing
in use "me"
get the name of me <--- in the stack script returns the name of the
stack you are currently running in.
Hope this helps
More information about the use-livecode