In examples.Sample Outline 1, with the cursor positioned at the summit heading, execute:
op.getLineText ()
» Sample Outline 1, Summit 1
Position the cursor in examples.Sample Outline 2 anywhere below the first summit and then execute:
op.go (flatup, infinity);
op.getLineText ()
» examples.Sample Outline 2, Summit
The first line of the script placed the cursor on the top summit of the outline.