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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode