Saving Objects

Peter Haworth pete at lcsql.com
Thu Mar 12 13:52:25 EDT 2015


I think the following would work.

First highlight the group then:

copy
put the clipboarddata["objects"] into URL "binfile:<path to your file>".

To get it back:

set the clipboarddata["Objects"] to URL "binfile:<path to your file>"
paste --will paste onto the top card.


On Thu, Mar 12, 2015 at 9:58 AM Eric Corbett <eric at canelasoftware.com>
wrote:

> Any way to save an object or a group of objects without having to save the
> stack?
>
> I would like to create a group, save the group, then be able to add that
> group to a stack.
>
> I am currently:
>
> 1. Creating a group on a blank stack;
> 2. Saving the stack binary;
> 3. Downloading the stack binary when needed;
> 4. Creating a stack file from the binary;
> 5. Loading the stack into memory;
> 6. Copying the group to another stack;
> 7 Deleting the stack from memory, from disk.
>
> I also thought about saving the properties of the group and all the
> objects to a text file, then creating all the objects on the fly and
> setting each one’s property from the text file.
>
> Any ideas?
>
> Thanks,
>
> Eric
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list