Apple script to add tagged items to todoist

Could you do something similar with OmniFocus?

Bill