getting the stack name of a library

J. Landman Gay jacque at hyperactivesw.com
Mon Oct 27 15:17:46 EDT 2014


On 10/27/2014, 1:16 PM, Michael Doub wrote:
> I am dynamically inserting a script into a stack to be used as a
> library.   How does an inserted function find out the name of the
> stack it has be inserted into?
>
> I want to be able to create a custom property set for use by the
> library routines and I want that to be in the stack where the scripts
> reside.
>
> I am not sure that “me” is correct because that changes based on the
> object calling the library function.
>
> Can anyone provide guidance?

You should be able to parse the stack name from "the long name of me".

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com





More information about the use-livecode mailing list