Applying warp to object using extended script
Hello,
I found a great post and answer by Silly-V using Live Effects under this post: https://forums.adobe.com/message/9356527#9356527 . It certainly helped me since I can now warp my object. However, I still have a minor issue after using this tool. Namely, after warping, the shape of the object changes but the selection stays the same. I have a specified canvas size and therefore the selection may stay inside the canvas while the shape actually does not. Since my script also exports the PDF it therefore cuts off parts of the shape.
I have seen that using "envelope distort" updates the selection so that the entire shape is included after warping. However, I cannot find any way to apply the envelope distort warp other than this:
app.executeMenuCommand("Make Warp");

