Sometimes, it is useful to convert a Task to a Project inside the current folder. If the Project is not in a Folder, the Project is created at the root of the database.
Thanks to the wonderful help of @draft8 and the library https://github.com/RobTrew/prelude-jxa, I did this cross-platform OmniJS PlugIn.
Before:
After:
Link: