HyperCard: Handler for Moving a Card Between Stacks (7/92)

* The moveTo handler provides a quick way to move the current card into
another stack.

* The copyTo handler provides a quick and easy way to copy a card between
stacks.

on moveTo where
doMenu "Cut Card"
push card
set lockMessages to true
go to last card of stack where
doMenu "Paste Card"
pop card
end moveTo

on copyTo where
doMenu "Copy Card"
push card
set lockMessages to true
go to last card of stack where
type "v" with commandKey
pop card
end copyTo

This article is adapted from the Claris Tech Info database.
Published Date: Feb 19, 2012