Copying A Card

Pete pete at mollysrevenge.com
Wed Nov 23 13:24:35 EST 2011


My apologies to Mark - the lock messages/screen didn't fix the problem
after all - confusion on my part.

Thanks Bob, your solution does what I want.

Pete

On Tue, Nov 22, 2011 at 4:45 PM, Bob Sneidar <bobs at twft.com> wrote:

> I do not believe there is a way to prevent it from opening, but you can
> copy the card, go to the destination stack invisible and paste the card.
> Then go back to the source stack. Would that help?
>
> I tried this in a button and it worked famously:
>
> on mouseUp pMouseBtnNo
>    copy card 1 of stack "Untitled 1"
>    go invisible to stack "Untitled 2"
>    paste
>    go stack "Untitled 1"
> end mouseUp
>
> Bob
>
>
> On Nov 22, 2011, at 3:28 PM, Pete wrote:
>
> > I have a script that copies a card from one substack to another, eg copy
> > card 1 of stack "abc" to stack "xyz".  Whenever it executes the new card
> is
> > opened.  Is there a way to prevent that behavior?
> >
> > --
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.com>
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>



More information about the use-livecode mailing list