op.getSelectedSubOutlines

Syntax op.getSelectedSubOutlines (adrDest)

Params adrDest is the address of an outline to receive the selected sub-outlines.

Action Copies the current selected headlines and appends the copies to the specified outline.

Returns True.

Examples Open examples.testOutline and select Unix and OS/2. Then run this script:

local (adrDest = @temp.testOutline);new (outlineType, adrDest);target.set (@examples.testOutline);op.getSelectedSubOutlines (adrDest)

   » true

Open examples.Universe, do a full expand, and select California and New York.

local (adrDest = @temp.testOutline);new (outlineType, adrDest);target.set (@examples.Universe);op.getSelectedSubOutlines (adrDest) //sub-heads are copied too

   » true

Notes This verb operates on the current target.

The destination outline must already exist; this verb won't create it for you.

This verb is new in Frontier 7.

See Also op.getSelection

op.visitSelection

op.insertOutline

Discuss