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: 4841

Re: Standalone builder change?

... in the 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 ...
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: 31600

Re: save content of field [SOLVED]

... same project 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 ...
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: 31600

Re: save content of field

... this 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 ...
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: 31600

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 ...
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: 31600

Re: save content of field

... put this 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 ...
by Simon Knight
Wed Mar 17, 2021 12:08 pm
Forum: Talking LiveCode
Topic: CloseStack, CloseStackRequest don't run in standalone
Replies: 4
Views: 3542

Re: CloseStack, CloseStackRequest don't run in standalone

... errors. 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: 3542

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 ...
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: 22059

Re: Standalone compile never leaves closing open stacks

... you 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 ...
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: 22059

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 ...
by trevix
Fri Feb 07, 2020 10:48 am
Forum: Android Deployment
Topic: Checking internet connection is blocking
Replies: 2
Views: 3984

Re: Checking internet connection is blocking

... suggested, 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: 12553

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 ...
by jmburnod
Tue Oct 30, 2018 10:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A compile problem
Replies: 11
Views: 8435

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: 8435

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: 8435

Re: A compile problem

... quit. 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: 8435

Re: A compile problem

... 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 --