op.attributes.setOne

Syntax op.attributes.setOne (attName, attVal)

Params attName is the name of the attribute to set.

attVal is the value to assign.

Action Sets the value of the named attribute.

Returns True.

Examples target.set (@workspace.notepad);op.attributes.setOne ("testAtt", "testVal")

   » true

Notes This verb operates on the selected headline in the current target.

Attributes are stored in a headline's refcon.

Attributes are reflected in the OPML version of an outline.

This verb is new in Frontier 7.

See Also op.attributes.addGroup

op.attributes.getOne

op.outlineToXml

op.xmlToOutline

Discuss