op.attributes.getOne
| Syntax |
op.attributes.getOne (attName, adrVal)
|
| Params |
attName is the name of an attribute. adrVal is the address of a variable to receive the value of the attribute.
|
| Action |
Gets one attribute of the selected headline in the current target.
|
| Returns |
True if the attribute exists, false otherwise.
|
| Examples |
target.set (@workspace.notepad);op.attributes.setOne ("testAtt", "testVal");local (val);op.attributes.getOne ("testAtt", @val);val » "testVal"
|
| 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.getAll
|