Copy link to clipboard
Copied
I'm back!
Hello everyone,
I am trying to just export all paths from photoshop to Illustrator, I am getting a general photoshop error,
(this functionality may not be available in this version of Photoshop)
var newPath = "paths.ai";
var newFile = File(newPath);
var options = new ExportOptionsIllustrator;
options.path = IllustratorPathType.ALLPATHS;
app.activeDocument.exportDocument(newFile, ExportType.ILLUSTRATORPATHS, options);
Anyone ever dealt with that error? I have CC 2017 version
Thanks Everyone!
File(newPath) really needs a path for saving the file (and not only a name).
Be sure that a path in your document exists. If vector shape, be sure that the shape layer is activ. And than try your code with only one change in line #1:
var newPath = "~/Desktop/paths.ai";
Have fun
Copy link to clipboard
Copied
File(newPath) really needs a path for saving the file (and not only a name).
Be sure that a path in your document exists. If vector shape, be sure that the shape layer is activ. And than try your code with only one change in line #1:
var newPath = "~/Desktop/paths.ai";
Have fun
Copy link to clipboard
Copied
Always coming to my rescue haha. Thank you!!!
Copy link to clipboard
Copied
It was my pleasure. Glad I could help.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now