Search found 16 matches: revStandaloneProgress

Searched query: revstandaloneprogress

by Klaus
Tue May 03, 2022 4:34 pm
Forum: Talking LiveCode
Topic: Standalone builder change?
Replies: 14
Views: 6494

Re: Standalone builder change?

... stackscript and script of the first card?
function isBuildingStandalone
return (the environment is "development" AND there is a stack "revStandaloneProgress" AND the mode of stack "revStandaloneProgress" > 0)
end isBuildingStandalone

on openstack
if isBuildingStandalone() then
exit openstack ...
by Samuele
Fri Jan 21, 2022 10:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: save content of field [SOLVED]
Replies: 71
Views: 43224

Re: save content of field [SOLVED]

... but none of them is entirely upgraded. function isBuildingStandalone
return (the environment is "development" AND there is a stack "revStandaloneProgress" AND the mode of stack "revStandaloneProgress" > 0)
end isBuildingStandalone

on openstack
if isBuildingStandalone() then
exit openstack ...
by Samuele
Sun Dec 19, 2021 12:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: save content of field [SOLVED]
Replies: 71
Views: 43224

Re: save content of field

... is the stack script of the "splash stack" function isBuildingStandalone
return (the environment is "development" AND there is a stack "revStandaloneProgress" AND the mode of stack "revStandaloneProgress" > 0)
end isBuildingStandalone

on openstack
if isBuildingStandalone() then
exit openstack ...
by Samuele
Thu Dec 16, 2021 6:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: save content of field [SOLVED]
Replies: 71
Views: 43224

Re: save content of field

yep, that's my stack "splash" script
function isBuildingStandalone
return (the environment is "development" AND there is a stack "revStandaloneProgress" AND the mode of stack "revStandaloneProgress" > 0)
end isBuildingStandalone

on openstack
if isBuildingStandalone() then
exit openstack
end if ...
by Klaus
Mon Dec 06, 2021 3:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: save content of field [SOLVED]
Replies: 71
Views: 43224

Re: save content of field

... into the stack script of "Splash.livecode":
function isBuildingStandalone
return (the environment is "development" AND there is a stack "revStandaloneProgress" AND the mode of stack "revStandaloneProgress" > 0)
end isBuildingStandalone
Then add this to your "on openstack" Handler:
on openstack ...
by Simon Knight
Wed Mar 17, 2021 12:08 pm
Forum: Talking LiveCode
Topic: CloseStack, CloseStackRequest don't run in standalone
Replies: 4
Views: 4350

Re: CloseStack, CloseStackRequest don't run in standalone

... Here are the new close/quit handlers which I have placed in card 1 which is the only card:
on closeStackRequest
-- if the mode of stack "revStandaloneProgress" > 0 then
-- exit closeStackRequest
-- end if
try
WritePreferenceFile
pass closeStackRequest
catch tError
answer "An error occurred ...
by jmburnod
Tue Mar 16, 2021 10:05 am
Forum: Talking LiveCode
Topic: CloseStack, CloseStackRequest don't run in standalone
Replies: 4
Views: 4350

Re: CloseStack, CloseStackRequest don't run in standalone

Hi Simon,

I think you have to add this scriot in your stack script

on closeStack
if there is a stack "revStandaloneProgress" then
if the mode of stack "revStandaloneProgress" > 0 then
exit closeStack
end if
else
pass closeStack
end if
end closeStack
Here is explanation about it
https ...
by jacque
Wed Nov 18, 2020 10:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Standalone compile never leaves closing open stacks
Replies: 21
Views: 29707

Re: Standalone compile never leaves closing open stacks

... can exit from the handler if standalone building is in progress:

on closeStack
if the environment is "development" AND there is a stack
"revStandaloneProgress" AND the mode of stack
"revStandaloneProgress" > 0 then
exit closeStack
end if
...
...
end closeStack

All stack-related messages need ...
by dr_mumps
Tue Nov 17, 2020 6:18 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Standalone compile never leaves closing open stacks
Replies: 21
Views: 29707

Re: Standalone compile never leaves closing open stacks

if you're referring to the following from release notes on v9.0.0:

on closeStack
if the mode of stack "revStandaloneProgress" > 0 then
exit closesStack
end if
end closeStack

yes ... kind-of ... since I don't use the "closeStack" handler specifically, I did try this in the button which actually ...
by trevix
Fri Feb 07, 2020 10:48 am
Forum: Android Deployment
Topic: Checking internet connection is blocking
Replies: 2
Views: 4795

Re: Checking internet connection is blocking

... putting this in the stack script:
local sConnectionTrue = false

on OpenStack
if the environment is "development" and there is a stack "revStandaloneProgress" and the mode of stack "revStandaloneProgress" > 0 then
exit OpenStack
end if
breakpoint
put "No connection" into fld "FldResult ...
by jmburnod
Sat Apr 13, 2019 4:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: CreateProcess failed:The system cannot find the path specified
Replies: 15
Views: 26236

Re: CreateProcess failed:The system cannot find the path specified

Hi Marra,
Not sure that help but if you have a closestack message you maybe need using this:
on closeStack
if there is a stack "revStandaloneProgress" then
if the mode of stack "revStandaloneProgress" > 0 then
exit closeStack
end if
else
pass closeStack
end if
end closeStack
Best regards
Jean ...
by jmburnod
Tue Oct 30, 2018 10:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A compile problem
Replies: 11
Views: 15634

Re: A compile problem

Hi All,
I get an error on IDE (LC 9.0.1)
can't find stack
so i added some lines to avoid this:

on closeStack
if there is a stack "revStandaloneProgress" then
if the mode of stack "revStandaloneProgress" > 0 then
exit closeStack
end if
else
pass closeStack
end if
end closeStack
Best regards ...
by jameshale
Wed Jul 04, 2018 1:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A compile problem
Replies: 11
Views: 15634

Re: A compile problem

@panos
Just a question.
Why can’t something like ...
on closeStack
if the mode of stack "revStandaloneProgress" > 0 then
exit closeStack
end if
Be built into the standalone builder scripts?
by LiveCode_Panos
Tue Jul 03, 2018 9:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A compile problem
Replies: 11
Views: 15634

Re: A compile problem

... This can be prevented by exiting these handlers if a standalone build is in progress. To check that:

on closeStack
if the mode of stack "revStandaloneProgress" > 0 then
exit closeStack
end if
...
...
end closeStack

2. Yes, that would be ideal. We had discussed refactoring the S/B in the ...
by LiveCode_Panos
Mon Jul 02, 2018 2:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A compile problem
Replies: 11
Views: 15634

Re: A compile problem

... end closeStack

So since this message is sent when building a standalone, LiveCode quits, as expected.

To fix this problem, you can modify this handler as follows:

on closeStack
if the mode of stack "revStandaloneProgress" > 0 then
exit closeStack
end if
quit
end closeStack

Best,
Panos
--