[comp.sys.mac.hypercard] Creating New Stacks Us

Henry.Halff@f421.n109.z1.fidonet.org (Henry Halff) (01/25/91)

>        I have a problem trying to create a stack that makes use of
>backgrounds that I have already created in a previous stack.  From
>what I understand, HyperCard has a command called 'create stack' in
>which
>you can specify one background from another stack
>but what should you do if there is more than one background that
>you want to use from the other stack?
 
Have your script copy a card of each background in the source stack and
paste it into the new stack. something like this.
 
repeat for the number of bgs
go last card of this bg
doMenu "Copy Card"
push card
go stack "foo"
doMenu "Paste Card"
--next section is optional & needed only if
--you need "Clean" cards in the new stack.
doMenu "New Card"
go prev
doMenu "Delete Card"
--end of optional section
pop card
go next
end repeat
 
This code is off the top of my head. It almost certainly has a bug.


--  

        Henry Halff, Henry.Halff@f421.n109.z1.fidonet.org
      via The Black Cat's Shack's FidoNet<->Usenet Gateway
          blkcat.fidonet.org   and   Fidonet 1:109/401