Copying Objects from one card to another

J. Landman Gay jacque at
Sun Jan 16 15:54:17 EST 2011

On 1/16/11 1:56 PM, Peter Haworth wrote:
> I'm trying to copy a number of objects from one card to another by
> selecting them all on the source card, copy, then paste them onto the
> destination card.  On the destination card, they all end up stacked
> up on top of each other instead of in the same positions as on the
> source card.

Try looping through all the objects and use this syntax:

   copy <obj reference> to <dest reference>

For example:

   copy btn 1 of this cd of stack "source" to cd 2 of stack "destination"

That will retain the location.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list