Best way to copy from one stack to another

J. Landman Gay jacque at hyperactivesw.com
Thu Sep 21 14:02:36 EDT 2017


For some reason I've never understood, there is no menu item to copy a 
card, but it is easy to do in script or the message box:

   copy this card

Once that's done you can use Cmd-V to paste the card into the target 
stack. Alternately you can do:

   copy card x of stack y to stack z

For only a few cards, I usually find it easier to just leave "copy this 
card" in the message box, hit the return key, and manually paste into 
the target stack. After that all I have to do is navigate to the next 
card I want to copy and hit the return key again in the message box.

If you have a fair number of cards to move, then a short handler with a 
repeat loop is easier, using the "copy ... to" option above.


On 9/21/17 12:19 AM, ELS prothero via use-livecode wrote:
> With all of the new versions and capabilities being added to livecode, I have found need to copy parts of one stack which is older, to a new stack, which is new and better. I have found it difficult to use cut and paste to copy groups or other elements from one stack to another using the PB.
> 
> Do I need to do this in code? Or is there an IDE way to copy groups and other elements, including their scripts, from one card of a stack to another card of  another stack?


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list