Saving an application from an application?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Emily-Elizabeth
Posts: 126
Joined: Mon Jan 03, 2022 7:10 pm
Contact:

Saving an application from an application?

Post by Emily-Elizabeth » Mon Dec 08, 2025 5:45 pm

In the Community version, can we have our application save an application?

stam
Posts: 3167
Joined: Sun Jun 04, 2006 9:39 pm

Re: Saving an application from an application?

Post by stam » Mon Dec 08, 2025 5:57 pm

I'm gonna guess probably not, if what you mean is attaching all the bits of engine to a standalone...

Potentially you could imitate this with an app created with a splash screen app, which then launches a mainstack to actually represent your app (that way you've built the full app once, but the actually running stack can be variable).

In theory at least you could modify a copy of that mainstack and copy all the rest of the app to a new location with the modified main stack. No idea if that would crate a new app, but it might do... I would imagine that the new main stack would need to be in a location that will always be found by the splash screen app (eg same folder).

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10284
Joined: Fri Feb 19, 2010 10:17 am

Re: Saving an application from an application?

Post by richmond62 » Mon Dec 08, 2025 6:58 pm

Creating an application from within any version of LC would be a conflict of interest: I could author an app development kit in LC and then hive off a standalone in direct competition with LC.

stam
Posts: 3167
Joined: Sun Jun 04, 2006 9:39 pm

Re: Saving an application from an application?

Post by stam » Mon Dec 08, 2025 7:13 pm

richmond62 wrote:
Mon Dec 08, 2025 6:58 pm
Creating an application from within any version of LC would be a conflict of interest: I could author an app development kit in LC and then hive off a standalone in direct competition with LC.
This is what the EULA actually states:
“EULA” wrote: b) You are prohibited from creating or distributing Created Software to be used and marketed as a generic rapid application development tool, or a low-code or no-code platform for app creation.
So I guess it depends on how much the final app resembles a generic RAD, as opposed to a machine that churns out individualised copies of essentially the same app.

If any doubt it’s useful to reach out to Heather/LiveCode Ltd to ensure the planned app doesn’t exceed the limits of the EULA…

ClipArtGuy
Posts: 261
Joined: Wed Aug 19, 2015 4:29 pm

Re: Saving an application from an application?

Post by ClipArtGuy » Mon Dec 08, 2025 7:58 pm

I think that EULA quoted is actually for the commercial version. The Community Edition shouldn't have those restrictions since it runs under the GPLv3 license. I'm no lawyer, but that's always been my understanding.

Emily-Elizabeth
Posts: 126
Joined: Mon Jan 03, 2022 7:10 pm
Contact:

Re: Saving an application from an application?

Post by Emily-Elizabeth » Mon Dec 08, 2025 8:54 pm

The use case in my example: On another forum, the end user asked if Secure Text could save out as an executable so the encrypted file could be opened by someone without the program.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10284
Joined: Fri Feb 19, 2010 10:17 am

Re: Saving an application from an application?

Post by richmond62 » Tue Dec 09, 2025 7:09 am

Saving a secure text file is NOT saving an application from an application, it is exporting a file.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10078
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Saving an application from an application?

Post by FourthWorld » Tue Dec 09, 2025 11:40 am

Emily-Elizabeth wrote:
Mon Dec 08, 2025 8:54 pm
The use case in my example: On another forum, the end user asked if Secure Text could save out as an executable so the encrypted file could be opened by someone without the program.
I'm missing the benefit in that use case. What is gained by opening in one application rather than another?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

stam
Posts: 3167
Joined: Sun Jun 04, 2006 9:39 pm

Re: Saving an application from an application?

Post by stam » Tue Dec 09, 2025 12:21 pm

richmond62 wrote:
Tue Dec 09, 2025 7:09 am
Saving a secure text file is NOT saving an application from an application, it is exporting a file.
Agree completely, but to remind you, the original question was:
Emily-Elizabeth wrote:
Mon Dec 08, 2025 5:45 pm
In the Community version, can we have our application save an application?
Which I take to mean is it legal to do so, as in theory there is no technical reason you can't.
I've mostly used commercial versions (purchased mainly to support LC, I never profited from such a licence), and under commercial licence you can't.

But weirdly under community version you probably can. Although Community 9.6.3 is licensed under a 'special' GPLv3 licence, having re-read it I don't see why not, hence it's also legal to create OpenXTalk, which would have been forbidden with a commercial licence with it's 'non-compete' clause.

Emily-Elizabeth
Posts: 126
Joined: Mon Jan 03, 2022 7:10 pm
Contact:

Re: Saving an application from an application?

Post by Emily-Elizabeth » Tue Dec 09, 2025 7:15 pm

It was a feature request someone had mentioned on another forum, but if it can't be done it can't be done. This is the program <https://www.dcmembers.com/f0dder/download/fsekrit/> that does it, but it is written in C++

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10078
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Saving an application from an application?

Post by FourthWorld » Tue Dec 09, 2025 8:25 pm

Thanks. A purpose-built engine written in compiled object code makes that a more practical option.

LC is a great solution for many things, but as a generalized scripting language with a broad feature set, the engine size alone would make it undesirable for this purpose.

It's technically possible, of course. The LC IDE is written in LC. And if GPLv3 is a good fit fit a project, there would be no licensing restrictions for making an app that makes apps. It would be a bit of work to pull it together, not no less doable than anything else the IDE stacks do.

But the size. Oh lordy that's a lot for an app with one feature.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Emily-Elizabeth
Posts: 126
Joined: Mon Jan 03, 2022 7:10 pm
Contact:

Re: Saving an application from an application?

Post by Emily-Elizabeth » Tue Dec 09, 2025 9:52 pm

FourthWorld wrote:
Tue Dec 09, 2025 8:25 pm
But the size. Oh lordy that's a lot for an app with one feature.
Yeah fSekrit is only 47 KB whereas Secret Text is 15 to 20 MB, but is cross-platform (thanks Livecode!)

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10078
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Saving an application from an application?

Post by FourthWorld » Wed Dec 10, 2025 10:27 am

Emily-Elizabeth wrote:
Tue Dec 09, 2025 9:52 pm
FourthWorld wrote:
Tue Dec 09, 2025 8:25 pm
But the size. Oh lordy that's a lot for an app with one feature.
Yeah fSekrit is only 47 KB whereas Secret Text is 15 to 20 MB, but is cross-platform (thanks Livecode!)
With modern download speeds 16 megs isn't the barrier it used to be.

Been meaning to tell you,, glad to see you posting here again. You do good work, and bring good thinking the these discussions.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Emily-Elizabeth
Posts: 126
Joined: Mon Jan 03, 2022 7:10 pm
Contact:

Re: Saving an application from an application?

Post by Emily-Elizabeth » Wed Dec 10, 2025 4:40 pm

FourthWorld wrote:
Wed Dec 10, 2025 10:27 am
Been meaning to tell you,, glad to see you posting here again. You do good work, and bring good thinking the these discussions.
Thank you for the kind words. Looks like I am late to the party though as it seems like Livecode is going to be axed for Livecode Create. So long as the Community version can pump out executables for Windows and Linux, I'll keep using it.

Post Reply