Op Verbs

  • op.attributes (5) - Verbs for manipulating outline node attributes.

  • op.collapse - Collapse an expanded line.

  • op.countSubs - Count a headline's children.

  • op.countSummits - Count the number of top-level headlines.

  • op.deHoist - Reverse the effect of the last op.hoist command.

  • op.deHoistAll - Reverse all op.hoist operations.

  • op.deleteLine - Delete a line from the outline.

  • op.deleteSubs - Delete the children of a headline.

  • op.demote - Make a line or lines children to the line above.

  • op.expand - Expand a collapsed headline.

  • op.find - Find text in an outline.

  • op.findNext - Finds the next occurrence of searchString in an outline.

  • op.firstSummit - Move the cursor to the first top level headline.

  • op.flatCursorKeys - Toggle cursor keys between flat and structured.

  • op.fullCollapse - Collapse an outline entirely.

  • op.fullExpand - Expand an outline entirely.

  • op.getCursor - Get a number indicating the position of the cursor.

  • op.getDisplay - Get the state of the display.

  • op.getExpansionState - Get the collapsed/expand state of an outline.

  • op.getHeadNumber - Gets the position of a headline relative to its siblings.

  • op.getLineText - Get the text of a line in an outline.

  • op.getRefCon - Get the data associated with the current line.

  • op.getScrollState - Get the scrolling state of an outline window.

  • op.getSelectedSubOutlines - Copies the current selected headlines and appends the copies to the specified outline.

  • op.getSelection - Get the current selected headlines.

  • op.getSubOutline - Get the text of the current heading and all its subheadings as a string.

  • op.go - Move the cursor.

  • op.hoist - Change the display by causing all immediate subheads to appear to become summits.

  • op.insert - Insert a line.

  • op.insertAtEndOfList - Insert at the end of the subheads for the current level.

  • op.insertOutline - Inserts an outline into the current target outline.

  • op.level - Determine the level of the current headline.

  • op.listToOutline - Converts theList to an outline and inserts it.

  • op.newOutlineObject - Create a new outline object.

  • op.outlineToList - Gets an outline version of a list.

  • op.outlineToXml - Generates an XML representation of the outline.

  • op.promote - Set children to be equal to their parent.

  • op.readHeadFile - Creates an outline from a dot-head format file.

  • op.reorg - Move a line in an outline.

  • op.rssToOutline - Generates an outline from RSS text.

  • op.setCursor - Set the position of the cursor.

  • op.setDisplay - Set display on or off.

  • op.setExpansionState - Set the collapsed/expand state of an outline.

  • op.setLineText - Set the text of a line.

  • op.setRefCon - Set the data associated with the current line.

  • op.setScrollState - Set the scrolling state of an outline window.

  • op.sort - Sort the current level in an outline alphabetically.

  • op.subsExpanded - Determine whether the current headline has subheads expanded.

  • op.tabKeyReorg - Specifies whether or not the tab key is used to move lines or to insert tab characters.

  • op.visit - Visit each subhead of the current headline, calling a callback script for each one.

  • op.visitAll - Visits each headline in an outline, calling a callback script for each headline.

  • op.visitSelection - Visits each selected headline and calls the callback for each.

  • op.wipe - Delete contents.

  • op.xmlToOutline - Parses the XML text, turning it into an outline object.