CompItem.exportAsMotionGraphicsTemplate() claims paths beginning with ~ (tilde) don't exist
So this code (substituting the name of the user's home directory for [User Name] works great, the MOGRT is exported:
app.project.items[1].exportAsMotionGraphicsTemplate(true, "/Users/[User Name]/Work/test")
But this code throws an error saying the directory at ~/Work/test doesn't exist:
app.project.items[1].exportAsMotionGraphicsTemplate(true, "~/Work/test")
The ExtendScript debugger confirms the folder at ~/Work/test does in fact exist and is seen by the Folder object. This is a bug, right, and not something I'm just not getting?
