home *** CD-ROM | disk | FTP | other *** search
- on consolidatecasts whichcast
- set tempcastcount to 0
- repeat with i = 1 to the number of castMembers of castLib whichcast
- if the type of member i of castLib whichcast = #empty then
- nothing()
- next repeat
- end if
- set tempcastcount to tempcastcount + 1
- copyToClipBoard(member i of castLib whichcast)
- pasteClipBoardInto(member tempcastcount of castLib "temporary")
- end repeat
- repeat with i = 1 to the number of castMembers of castLib whichcast
- erase(member i of castLib whichcast)
- end repeat
- set tempcastcount to 0
- repeat with i = 1 to the number of castMembers of castLib "temporary"
- set tempcastcount to tempcastcount + 1
- copyToClipBoard(member i of castLib "temporary")
- pasteClipBoardInto(member tempcastcount of castLib whichcast)
- end repeat
- repeat with i = 1 to the number of castMembers of castLib "temporary"
- erase(member i of castLib "temporary")
- end repeat
- end
-