Skip to main content
Dimi Christop
Inspiring
July 22, 2015
Question

Destination Path using Automate->Batch

  • July 22, 2015
  • 1 reply
  • 1263 views

Hi

I am working on an export plugin.

Is there a way to get the Destination Path when using the Automation->Batch functionality, where you have specified a specific Source and  Destination folders?

Thanks

Dimi

This topic has been closed for replies.

1 reply

Dimi Christop
Inspiring
July 24, 2015

Is there something obvious? Because I dont see how all the export plugin can be batchable using the Automation->Batch mechanism without getting that path info.

Any answer would be appreciated.

MOMIR_ZECEVIC
Inspiring
July 24, 2015

In the documentation, there is a PDF document "Scripting primer.pdf". it is explained in it how to make plugin script aware (so it can be used in actions). If you make your plugin script aware it will also be able to be used in batch mode using Photoshop scripting mechanism.

Momir Zecevic

Ars Media

www.arsmedia.tv

Dimi Christop
Inspiring
July 24, 2015

Hi

thanks for the answer. I read the first part of this document and based my exporter upon the Outbound example.

I have the scripting save all the parameters (like compression type etc), the problem is that when I record a Export Action I use a test image.

This test image is saved in a directory which is also recorded in the Action.

Now when I run the Automation->Batch using the Action I just created, specify a source folder and also specify a different destination folder, it completely ignores that and saves all images in the folder which was specified in the action.

The Outbound plugin has the same problem. It is not happening in the filter examples, but I dont see that they are doing anything different.

Therefore I assume that photoshop somehow issues a saveas command on filters whereas on export plugins this is ignored. The problem is now how can an export plugin get this directory path specified in the Automation->Batch destination command.

Thanks

Dimi