Export project to send somebody else (with resources included)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 22
- Joined: Wed Jan 20, 2021 12:36 am
Export project to send somebody else (with resources included)
I come from a background similar to LiveCode (drag and drop) where I could "Export" the entire project to a special "Package" file that can be opened in another PC. Once opened I could continue working normally because the resources (images, videos, etc) where included in the package. Except for plugins, anything could be included.
is it possible to do that in LiveCode Indy 9.6.1?
David R.
is it possible to do that in LiveCode Indy 9.6.1?
David R.
-
- Livecode Opensource Backer
- Posts: 10078
- Joined: Fri Feb 19, 2010 10:17 am
Re: Export project to send somebody else (with resources included)
Just zip the stack, make sure any constituent stacks and substacks are not password protected (possible
in commercial variants of LiveCode) and send it off.
Recipients can unzip your files and open them in LiveCode Community or any commercial versions they have licences for.
in commercial variants of LiveCode) and send it off.
Recipients can unzip your files and open them in LiveCode Community or any commercial versions they have licences for.
Last edited by richmond62 on Thu Jan 28, 2021 9:22 am, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 10078
- Joined: Fri Feb 19, 2010 10:17 am
Re: Export project to send somebody else (with resources included)
Perhaps I should point out that it is possible (even recommended) to import all resources into
a LiveCode stack.
a LiveCode stack.
-
- Posts: 22
- Joined: Wed Jan 20, 2021 12:36 am
Re: Export project to send somebody else (with resources included)
hi Richmondrichmond62 wrote: ↑Wed Jan 27, 2021 2:51 pmPerhaps I should point out that it is possible (even recommended) to import all resources into
a LiveCode stack.
this is how I imported an image to the project: File>Import As Control>Image File
is that the correct way of importing in order to be included in the zipped stack?
David R.
-
- Livecode Opensource Backer
- Posts: 10078
- Joined: Fri Feb 19, 2010 10:17 am
Re: Export project to send somebody else (with resources included)
Once you have imported an image in that way it stays inwith your LiveCode stack (unless you delete it) regardless of how
you port it to another computer (i.e. as a raw LiveCode files or compressed in some way).
you port it to another computer (i.e. as a raw LiveCode files or compressed in some way).
-
- Livecode Opensource Backer
- Posts: 10078
- Joined: Fri Feb 19, 2010 10:17 am
Re: Export project to send somebody else (with resources included)
It might not be a bad idea to have a look here:
https://livecode.com/docs/9-5-0/introduction/welcome/
and here
https://lessons.livecode.com/
https://livecode.com/docs/9-5-0/introduction/welcome/
and here
https://lessons.livecode.com/
To characterise LiveCode as "drag and drop" is to do it a major disservice.I come from a background similar to LiveCode (drag and drop)
-
- Posts: 22
- Joined: Wed Jan 20, 2021 12:36 am
Re: Export project to send somebody else (with resources included)
Thanks, I am actually following the videotutorials in the "ABC Lessons" but had not found a topic on exporting.richmond62 wrote: ↑Wed Jan 27, 2021 3:34 pmIt might not be a bad idea to have a look here:
https://livecode.com/docs/9-5-0/introduction/welcome/
and here
https://lessons.livecode.com/
To characterise LiveCode as "drag and drop" is to do it a major disservice.I come from a background similar to LiveCode (drag and drop)
The ability to build user interface components (buttons, inputs) by dragging them from a toolbar is what I describe "drag and drop" and I don´t think there is anything wrong with that approach. There are other ways to design UI without dragging(by code). I mentioned that just to compare the feature of packaging (exporting) with a similar software I use on my everyday work.
David R.
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Export project to send somebody else (with resources included)
LC makes it easier than most to not merely package a project for transport, but also keep it that way when you're working. Code, UI, media, and data can be stored directly in a stack file.
An exception to this is video. While LC does provide a means of importing video clips, it's very limited. LC files are loaded into memory when opened, so have a large number of embedded videos, or looking videos, isn't practical. For those cases, the suggestion of above of transporting a Zip file will work well. In fact, LC has a Zip library included, so you can automate any aspect of that if you like.
May I ask what tool you've been using that packages things up with satisfying tidiness? I'm working on a packager and find it useful to learn how other packagers solve interesting problems.
An exception to this is video. While LC does provide a means of importing video clips, it's very limited. LC files are loaded into memory when opened, so have a large number of embedded videos, or looking videos, isn't practical. For those cases, the suggestion of above of transporting a Zip file will work well. In fact, LC has a Zip library included, so you can automate any aspect of that if you like.
May I ask what tool you've been using that packages things up with satisfying tidiness? I'm working on a packager and find it useful to learn how other packagers solve interesting problems.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 22
- Joined: Wed Jan 20, 2021 12:36 am
Re: Export project to send somebody else (with resources included)
I started programming just a couple of years ago, and my first language was Lua. And I didn´t choose that language, it just came by default with AutoPlay Media Studio software which allows to develop applications very quickly without coding but you can create more robust applications by writing code. To share projects you export them as "packages" which includes all of the assets (video, images and whatever resources your app uses except for plugins). Sadly AutoPlay Media Studio has no been updated in recent years so I am looking for a modern alternative which I hope LiveCode can be just that.FourthWorld wrote: ↑Wed Jan 27, 2021 5:19 pmMay I ask what tool you've been using that packages things up with satisfying tidiness? I'm working on a packager and find it useful to learn how other packagers solve interesting problems.
The applications I develop tend to be highly visual that require shapes and lots of interaction with mouse and images and pdf generated visualization.
David R.
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Export project to send somebody else (with resources included)
I haven't spent much time with Lua, but I've liked what I've seen. Obviously there are a great many differences between Lua and LiveCode, but I think you'll appreciate how LC embraces Lua's priority of readability in code.vizualDevelop wrote: ↑Wed Jan 27, 2021 5:44 pmI started programming just a couple of years ago, and my first language was Lua. And I didn´t choose that language, it just came by default with AutoPlay Media Studio software which allows to develop applications very quickly without coding but you can create more robust applications by writing code. To share projects you export them as "packages" which includes all of the assets (video, images and whatever resources your app uses except for plugins). Sadly AutoPlay Media Studio has no been updated in recent years so I am looking for a modern alternative which I hope LiveCode can be just that.
The applications I develop tend to be highly visual that require shapes and lots of interaction with mouse and images and pdf generated visualization.
As for your app goals, you may find LC a perfect fit. PDF generation is pretty nice in LC, with not only good rendering but also features for adding links and outlines. And as you've seen, having graphical tools deeply integrated into the core make a great many UI tasks a breeze.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn