On Thu, 26 Aug 1999 [EMAIL PROTECTED] wrote:

> 
> 
> I'm in the process of splitting up a large project of about 200 cards into 
> eight smaller stacks which in order to conserve memory.  To do this, I have 
> made eight copies of the program and I open each separately and delete all 
> the cards from that stack that I do not want in that particular portion.  
> This goes well but then there is the question of all the groups from each of 
> the original cards which are still stored with the stack.  Is there any easy 
> way to purge the unused groups from the smaller stack?  
> 
> Currently, I have to go to Edit>Backgrounds and painstakingly add each 
> background to a card and then slect it on the card and delete it.  I have 
> hundreds of groups from all the different cards.  Any ideas?

I generally write a script whenever doing any kind of large-scale
restructuring like this.  It's too easy to make a mistake if there is
any manual component to the process.  Of course, it's very easy to
write a script that will totally destroy your stacks too, but at least
you'll know it when it happens ;-)

In this particular case, you need two things to build the script:
the backgroundNames of stack X
there is a card 1 of bg Y

You use the first expression to get a list of the groups in a stack,
and the second to see if any given group is placed on any card.  If it
returns false, "delete bg Y" will delete the group without having to
place it on a card first.
  Regards,
    Scott

> Philip Chumbley
> 

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...

Reply via email to