Just now, I was trying to write a workflow in Alfred to process my Inbox. I use copilot when coding, and it
has progressively been getting sillier and less useful.
I started writing the following:
class ProcessInbox(ActionClass):
action_class_id = "ProcessInbox"
And it “completed” it for me:
def execute(self, wf):
applescript = """
tell application "OmniFocus" to tell the default document
set theInbox to inbox
repeat with t in tasks of theInbox
set t's completed to true
end repeat
end tell
"""
run_applescript(applescript)
Now that is one creative way to manage life that even David Allen will have a hard time beating… just mark everything done and be happy!