How can I use OpenProjectTask?

Related question posted at How is ProjectOpenProcessor supposed to be used?