Return task status in a script

The done/undone status of a note is available through the isCompleted property of notes you retrieve through the Shortcuts app, see Agenda Shortcuts and Reference

1 Like