Mark, Thanks!
Here’s the script I created based upon your example. This is a stack with one
card and on the card is a field “counter”. I put “0” into the field to seed it.
When the stack file is opened, it launches LiveCode and does the preOpenStack
and the send in seconds causes the stack to display. The field counter starts
incrementing.
And to get it to stop, hold down the option key and processing halts.
Damn, wish I had known about this years ago. Thanks,
Kee
on preOpenStack
choose browse tool
send idleDoit to this stack in 1 second
end preOpenStack
on idleDoit
put field "counter" + 1 into field “counter"
if the optionKey is up then
send idleDoit to this stack in 1 second
end if
end idleDoit
> On Feb 1, 2021, at 11:30 AM, Mark Wieder via use-livecode
> <[email protected]> wrote:
>
> On 2/1/21 10:29 AM, kee nethery via use-livecode wrote:
>
>> Basically I needed a stack to launch and run in the IDE and LiveCode didn’t
>> have a way to do that.
>
> ???
>
> on preOpenStack
> choose pointer tool
> startMeUp
> end preOpenStack
>
> on startMeUp
> answer "I'm started"
> end startMeUp
>
> --
> Mark Wieder
> [email protected]
>
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode