op.insertOutline

Syntax op.insertOutline (adrOutline, dir)

Params adrOutline is the address of an outline to insert.

dir specifies the direction relative to the bar cursor in which the outline is to be inserted. It may contain any of the following values:

down - insert at same level, beneath the target

left - insert one level higher

right - insert one level lower

up - insert one level higher

Action Inserts an outline into the current target outline.

Returns True if successful, false otherwise.

Examples edit (@workspace.notepad);op.firstSummit ();op.insertOutline (@examples.Universe, up) //insert examples.Universe at the top of workspace.notepad

   » true

Notes The expansion state of the inserted outline is preserved.

This verb operates on the current target. It works with scripts and menus as well as with outlines.

This verb is new in Frontier 7.

See Also op.insert

Discuss