I've updated the Applescript to generate daily To Do lists from OmniFocus.
The change in the script is on line #52 so completed tasks are filter out of your results. The new line is:
set refDueTaskList to a reference to (flattened tasks where (due date ≥ CurrDate and due date < endDatetxt and completion date is missing value))
The update adds the filter string of
and completion date is missing value to only return results where the 'Completion Date' field is empty. This will filter all tasks that were due +/- 7d from today, but also got completed.
Download update: OmniFocus_Due_List_R2.scpt