If we are talking about PageBreakBoxes then...use XPath to get references to all of them and then send << Delete box() message to those references
Names Default To Here(1);
//This message applies to all display box objects
nw = New Window("Example",
ob = Outline Box("Outline Box",
V List Box(
ob2 = Outline Box("Outline Box 2",
H List Box(Text Edit Box("Top Left"), Text Edit Box("Top Right"))
),
ob3 = Outline Box("Outline Box",
H List Box(Text Edit Box("Bottom Left"), Text Edit Box("Bottom Right"))
)
)
)
);
ob3 << Page Break;
nw << Journal;
(Current Journal() << XPath("//PageBreakBox")) << Delete Box;
It also might be enough to just send << Visibility("Collapse") instead of deleting them
-Jarmo