op.visitSelection

Syntax op.visitSelection (adrCallback)

Params adrCallback is the address of a script to be called for each selected headline in an outline.

Action Visits each selected headline and calls the callback for each.

Returns True.

Examples edit (@workspace.notepad);op.visitSelection (@workspace.myCallback)

   » true

Notes The callback takes no parameters: it can determine the current target and current bar cursor and get the content of the current line.

This verb operates on the current target.

This verb, implemented by a script, is new in Frontier 7.

See Also op.visit

op.getSelection

Discuss