BJ's script works perfectly in that the resulting document is exactly what I was after. However, the new document can't be saved nor can items be copied or dragged to a new document. In the latter case, OO throws the following error: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value Thought I'd let you know. Richard Sandilands