Copy card produces same ID

Barry Levine themacguy at macosx.com
Thu Jul 10 09:48:00 EDT 2003


This seems like a bug but...If I use:

copy this card to this stack -- (I think that's what I used)

I get a duplicate card (which is what I want) but the ID of the card is 
the same as the original card. This seems like a bad thing (and a bug). 
Shouldn't ID's be unique? Should I be using something like:

copy this card to this stack with unique ID  --(?)

Alternatively (assuming I should always have unique IDs for my cards 
because to have things otherwise isn't kosher), can I script the 
process of:

1. Select the pointer tool.
2. "Select All" from the Edit menu.
3. "New Card" from the Object menu.
4. "Paste" from the Edit menu.

Appreciate any assistance. Thanks.

Barry




More information about the use-livecode mailing list