1 year ago
#242681
sundeepg
How do I save active document through POST request from Adobe CEP?
I'm working with Adobe CEP (it lets developers create windowed extensions for Adobe CC products). I am working on Adobe Illustrator. Is there a way to send the active document (in .ai or .pdf or .png format) in the request body of a HTTP POST request?
Method I've tried: Save the document using 'app.activeDocument.saveAs' in the user's local folder. In the next step the user needs to add this file in a form field and submit the form. I've followed the steps for the saving process from here
In this method, the user has to do an extra step of adding the file in the form field. It'd be helpful for me if we can send the file directly from the ExtendScript file or from the JS wrapper file on click of a button
javascript
adobe
adobe-illustrator
extendscript
0 Answers
Your Answer