What Env Variable set when saving standalone?

Bob Sneidar bobsneidar at iotecdigital.com
Thu Jan 25 11:48:41 EST 2018

I did. I moved them to the card script. Issue persists. And it doesn't explain why it's opening modally, which can only happen if my openStack handler in the card script of the MAINSTACK is executing. IMHO the standalone builder should not be executing any scripts, unless by doing so it finds all the dependencies, but if that is the case, that is a helluva way to go about it. 

The MainStack does not have preOpenStack or openStack handlers in it's stack script. 

Bob S

> On Jan 25, 2018, at 08:38 , Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Thanks Mark.
>> I have a mainstack called Forms Generator. In the openStack handler in the card script of that stack, I open modally another substack called Login. This is so that no one can access the app without logging in first.
>> When I Save As Standalone, this Login stack opens (why I do not know, I assume the Standalone Builder is "walking" through the scripts) and when it does, the Standalone Builder stops dead in it's tracks waiting for the Login (opened modally if you recall) is dismissed.
> Ah! This sounds familiar.
> Do you have an openStack or preOpenStack handler in your login stack script? Those should go into the script of the first card instead.
> It sounds like your login stack is receiving an initialization message from the Standalone Builder.
> -- 
> Mark Wieder
> ahsoftware at gmail.com

More information about the use-livecode mailing list