"template" stack in custom property

Klaus major-k klaus at major-k.de
Fri Aug 2 10:00:58 EDT 2019


Hi all,

I found a workaround by creating two handlers and use them with a little dealy.

> Am 02.08.2019 um 14:59 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
> 
> Hi friends,
> 
> I have done this a lot in the past, but currently got stuck with this in LC 9.5
> I store a stack in a custom property and open it via script like:
> ...
> put "NewJob_" & the seconds into tName
> go invisible stack (the cTemplateStack of this stack)
> ## Works so far, the stack is in -> the openstacks
> 
> ## However NOTHING that comes after that line will ever get executed?
> ## restarted LC a couple of time, no dice...
> 
> ## Even the BREAKPOINT is being ignored!?
> breakpoint
> answer "asfasdasdasdasdasd"
> ...

...
put "NewJob_" & the seconds into tName
send "do_the_rest" to me in 1
go invisible stack (the cTemplateStack of this stack)
...

command do_the_rest
  ## rename template stack 
  ## etc...
end do_the_rest

Too funky!?


Best

Klaus

--
Klaus Major
https://www.major-k.de
klaus at major-k.de





More information about the Use-livecode mailing list