Skip to main content
Inspiring
November 11, 2014
Question

script planning advise

  • November 11, 2014
  • 1 reply
  • 516 views

I would like to ask for help in planning a Bridge script.

I am a beginner Photoshop and Bridge developer.

Script behavior:

Check for selected thumbnail

Open the selected  thumbnail/s from Bridge in Photoshop.

Run a set of Photoshop actions

Save the changes to the file

Close the file

How do I approach these tasks programmatically?

What are the sequence of events to necessary to execute the script?

Applying photoshop scripting as a model I can come up with this sequence which can be scripted with the if else statement.

// check if thumbnail is selected

// if no thumbnail is selected send alert message

// if thumbnail is selected open in Photoshop

// run photoshop actions

// save changes to file

// close file

Will this approach work with a Bridge script?

How do I call the Photoshop application from Bridge?

This topic has been closed for replies.

1 reply

Inspiring
November 12, 2014

It's better to access the Bridge files from Photoshop, there are a couple of scripts that will exceed what you are asking, or they will be a good foundation for any code that you want.

Image Processor Pro

ps-scripts - Browse /Image Processor Pro/v3_0 at SourceForge.net

Picture Processor

This can be found under the PSCS Scripts section at http://www.ps-bridge-scripts.talktalk.net/

ojodegatoAuthor
Inspiring
November 12, 2014

Thanks Phillip for getting back.

I have looked at IPP V3 script and the Bridge CS6 SDK SnpOpeninPhotoshop.jsx script.

I find them overwhelming and not easy to extract the functionality that I ma trying to build.

Will try again to see if I can get further.


BTW,

I have been using a the batchStack. jsx bridge you posted on the Bridge script forum.

I found your script very useful. Thanks for the contribution.