Set date automatically

I’m just getting started with OO, but at least I already read the whole manual. Anyway, I didn’t find a solution for my “problem”.

I’d like to set up a document for my class, where I can check/uncheck if the kids did there homework, note special behaviour, … Therefore I set up a structure for one day (showing the names of all pupils and some checkboxes). I attached a screenshot, that demonstrates it better than words. :)

I wonder if there is a possibility to multiply the row with this structure and have OO set the date automatically ascending:

1st: 2015-05-18 + grouped structure (as on screenshot)
2nd row: 2015-05-19 + grouped structure (as on screenshot)
3rd row: 2015-05-20 + grouped structure (as on screenshot)
and so on

I hope you understand, what I mean :)

Thanks a lot

This can be accomplished using AppleScript.

use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions

tell application "OmniOutliner"
	tell front document
		set oldDate to (value of cell "Datum" of last child)
		duplicate last child to end of rows
		set myNewRow to last child
		set value of cell "Datum" of myNewRow to short date string of (oldDate + 1 * days)
	end tell
end tell

The script assumes your column “Datum” is set to type Date. It will duplicate the last Level 1 row of OmniOutliner’s front document including all children. The value of column “Datum” will be increased by one day.