Convert row to note of parent row?
Curt Clifton
curt.clifton at mac.com
Sun Jan 15 19:17:04 PST 2006
Daniel,
On Jan 15, 2006, at 9:09 PM, Daniel Flatin wrote:
> I posted this script several weeks ago requesting advice on how to
> make the last line work (and any other advice -- I am only an
> occasional scripter), but I guess no-one saw it. In any case, it
> takes the selected rows and concatenates them into a note in the
> parent row. It has several flaws, but it seems to get the basic job
> done -- except for deleting the selected rows afterward.
Deletion are hard to script right, especially when you're trying to
delete the rows in a selection. The trouble seems to be that the
rows are recorded by position in the outline, and once you start
deleting rows the position information is no longer correct.
I'm afraid I don't have an easy answer or a snippet of code that
would be very helpful. You might consider rewriting the script so
that rather than making a note out of the selected rows it makes a
note out of the children of the first selected row. WIth that
interface, then you could use something like:
delete (every row of theParent)
Cheers,
Curt
More information about the OmniOutliner-Users
mailing list