Thanks for your help!
Do I need to customize your script? Like change value to a project? Thus far, I can't get it to work.
Without changing your script, TaskPaper crashes when I run my script.
Keyboard Maestro reports the following:
/var/folders/ss/kyfs2xgd3wqft8cpz0rnhwcw0000gn/T/Keyboard-Maestro-Script-D3A6B0C9-48F9-49FB-B435-B6C43C5C0ABB:227:260: execution error: Error on line 9: Error: Connection is invalid. (-609)