A script/extension to move tasks/projects between taskpaper/ft files?

Does anyone have already have anything along these lines, or can anyone point me in the direction of something that might be useful? (FT2)

I’ve added a hack to Complexpoint’s MailtoFT script that allows me to select a file as a destination to move tasks/projects to, but my solution really is just a hack (for example, I have to manually cut the text I want to move; the script grabs the contents of the clipboard and passes it on).

Just wondering if there are any other examples I can learn from…