• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Change default destination when Exporting layer comps

Engaged ,
Jun 18, 2019 Jun 18, 2019

Copy link to clipboard

Copied

I use latest PS on win10

Can I change the default destination when using:

File>Export>Layer Comps To File

Whenever I use these the default destination is always:

C:\Users\UserName\Desktop

I'd like to specify another location for all those exports.

Thanks,

Views

550

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Jun 27, 2019 Jun 27, 2019

I copied the default action and modified it's code.

in my case this was the script:

"Layer Comps To Files.jsx"

I modified

...

exportInfo.destination = Folder(app.activeDocument.fullName.parent).fsName; // destination folder

to my folder, e.g:

exportInfo.destination = File("/C/Documents and Settings/" + $.getenv("USERNAME") + "").fsName;

Votes

Translate

Translate
Adobe
Community Expert ,
Jun 18, 2019 Jun 18, 2019

Copy link to clipboard

Copied

There is actually no default destination folder the first time you used the script that field was empty  you either typed in a folder or browsed and selected one.  The script saves that destination folder if you save layer comps into it.  The next time you user Layer Comps to files the script will preset that field to the last distention folder you used.

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 18, 2019 Jun 18, 2019

Copy link to clipboard

Copied

Yes I see that now.

My issue is slightly different - I use the "Export>Layer Comps To File" from within an actions.

I created an action to convert image to SRGb and after that i export all the layer comps.

When i use if from withing the action is ALWAYS reverts to the same destination:

C:\Users\UserName\Desktop

Can i do anything to change it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 18, 2019 Jun 18, 2019

Copy link to clipboard

Copied

The script does not look like its a Plug-in Script so you cans not record setting for it in your action.  The only option you have is to make that step interactive.  Check the box in front of the step to turn one the  scripts dialog. If you good at scripting you could write a script like that one the is a Photoshop Plug-in.  Then the folder you used recording the step will be passed to the plug-in when the action is played.

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 18, 2019 Jun 18, 2019

Copy link to clipboard

Copied

thank

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 27, 2019 Jun 27, 2019

Copy link to clipboard

Copied

LATEST

I copied the default action and modified it's code.

in my case this was the script:

"Layer Comps To Files.jsx"

I modified

...

exportInfo.destination = Folder(app.activeDocument.fullName.parent).fsName; // destination folder

to my folder, e.g:

exportInfo.destination = File("/C/Documents and Settings/" + $.getenv("USERNAME") + "").fsName;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines