I actually tried a single task with this result (including the note):
- Export to Markdown @parallel(true) @autodone(false) @context(WaitingFor) @tags(WaitingFor) @due(2020-05-22 20:00) @defer(2020-05-21 00:00)
This is the text of the note
And this is all tasks from a Project perspective (open perspective, select all (Cmd-A), right click, copy as task paper):
- (null)
- Diversen @parallel(true) @autodone(false)
Taken zonder project worden hier automatisch toegevoegd
- Terughalen Omnifocus Archive van een paar weken terug van Time Machine Backup @parallel(true) @autodone(false)
link <file:///Users/robert/Library/Containers/com.omnigroup.OmniFocus3/Data/Library/Application%20Support/OmniFocus/>
- Inplannen afspraak Squash @parallel(true) @autodone(false) @defer(2020-06-01 00:00)
https://sport010.baanreserveren.nl/
- Kopen nieuwe fietshelm @parallel(true) @autodone(false) @context(Plaatsen : Boodschap) @tags(Plaatsen : Boodschap)
- Export to Markdown @parallel(true) @autodone(false) @context(Mensen : Wachten) @tags(Mensen : Wachten) @due(2020-05-22 20:00) @defer(2020-05-21 00:00)
This is the text of the note
tell application "OmniFocus"
tell front window
set my_trees to selected trees of content
set my_selection to value of item 1 of my_trees
set task_name to name of my_selection
set task_note to note of my_selection
set project_name to name of parent task of my_selection
set selection_id to id of my_selection
set selection_url to "omnifocus:///task/" & selection_id
return "- task_name: " & task_name & "
" & ¬
"- task_project: " & project_name & "
" & ¬
"- task_url: " & selection_url & "
" & ¬
"- task_note: " & task_note
end tell
end tell
Thanks everyone for all your insights. While Task Paper is an option my use case was to quickly process a perspective to MD and then export to an email. Thanks for everyone’s help.