Copy link to clipboard
Copied
Hi all,
I want to import a psd file in Illustrator with different option selected while importing . I am using -
Hi @Daksri, I've never done this before, but when I tried it out just now, the result didn't seem very satisfying. To me, the API for this seems a bit rudimentary.
Here is the best I could do:
app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
var myPath = '~/Desktop/';
var file_1 = new File(myPath + "file.psd");
app.preferences.photoshopFileOptionslayerComp = undefined;
app.preferences.photoshopFileOptionspreserveImageMaps = true;
app.preferences.photoshopFileOptionspreserve
...
Copy link to clipboard
Copied
Hi @Daksri, I've never done this before, but when I tried it out just now, the result didn't seem very satisfying. To me, the API for this seems a bit rudimentary.
Here is the best I could do:
app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
var myPath = '~/Desktop/';
var file_1 = new File(myPath + "file.psd");
app.preferences.photoshopFileOptionslayerComp = undefined;
app.preferences.photoshopFileOptionspreserveImageMaps = true;
app.preferences.photoshopFileOptionspreserveHiddenLayers = true;
app.preferences.photoshopFileOptionspreserveLayers = true;
app.preferences.photoshopFileOptionspreserveSlices = false
app.open(file_1);
Hopefully someone with more experience will chime in with a better result. 🙂
- Mark