Getting the name of the script only stack an handler is in

Bob Sneidar bobsneidar at iotecdigital.com
Wed Jan 2 10:59:49 EST 2019


I don't mean to sound flippant, but what is the question?

Bob S


> On Dec 31, 2018, at 14:38 , William Prothero via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Folks:
> I’m trying to implement a structure where I can simply add script only stacks that seamlessly add capability to my app. To do this, I have all of the “feature” stacks in a given folder, and when I initialize the app, I start using all of the “feature” stacks. Then I want to initialize all of them, so I send a message that gets passed in each “feature” stack.
> 
> I do, in each “feature” stack:
> on pollActions
> 
> 	put the short name of the current stack into myAction
> 
> 	dispatch "actionsList" to cd "Opening" of stack "CP_Main" with myAction
> 
> 	pass pollActions
> 
> end pollActions



More information about the use-livecode mailing list