Skip to main content
Inspiring
February 17, 2022
Answered

Executing a Ps script from Bridge

  • February 17, 2022
  • 4 replies
  • 6733 views

Br 12

Ps 23

 

I have been running the Ps script 'Load files into stack' with the option checked to create a Smart Object. Then going to Ps>Layers>SmartObject>StackMode & selecting the blend mode

I have to navigate from Ps to find the files in Br (sometimes they arent in their own folder>.

Ideally, I'd like to select the thumbnails in Bridge and run the Ps script.

CIs there a simple solution (I can't code) ?

This topic has been closed for replies.
Correct answer Kukurykus

Nope. Not working. I have attached the modified script for you to see.

 

Shift key  - makes a smart object & attempts to align layers

Ctrl key - loads layers but no smart object & no attempt to align

No keys - no smart object & attempts to align

Cntrl & Shift -  makes smart object & does Not attempt to align


loll I had to read wrongly your yestarday post or something made me to change my mind regarding correct behaviour as to the use of Control key. The ! character is not needed! 😛

 

When Shift and Ctrl are used the layers neither will be aligned nor smart object created.

 

When Control is used, you'll have aligned layers, when Shift, then Smart Object Created.

 

 

EDIT: I read that post and found what confused me. You said something that already worked right way. So I thought if you say it doesn't work as intended I did something wrong. Now we see I didn't, just see what you said: "I tried holding it (ie. Control) & it gave a non-aligned".

4 replies

Legend
February 18, 2022

Record an action that runs the script then use Batch in Bridge to run it.

Kukurykus
Legend
February 18, 2022

It won't work on selected thumbnails, as action played by Batch runs script from Photoshop.

Inspiring
October 6, 2022

@Kukurykus 

I was using your amended script successfully from Bridge for a few months - I could hold the Shift key to create a Smart Object,  but now suddenly it wont work from Br and I cant tell if or how it was damaged. Tried the line changes you posted above but it's not working/I'm making an error that I can't identify

 

Inspiring
February 17, 2022

I forgot to say that I am on a Mac, in case that makes a difference.

 

If the Russel Brown script doesnt work on Ps 23 and Bridge 12 then I guess creating an Action is my best bet ? I dont know what or how to use Bridge Talk as previously suggested

 

If so, are these all the necessary action steps from Bridge -

1. Tools>Ps>Load files into layers (I will have highlighted the selected thumbnails)

2. Select all layers (Select>All Layers)

3. Layers> Smart Objects> Convert to Smart Object

4. Layer>Smart Objects>Stack Mode>

Stephen Marsh
Community Expert
Community Expert
February 17, 2022

Russell Brown's Services: stack-o-matic script does this for Bridge into Photoshop.

 

http://www.russellbrown.com/scripts.html

Inspiring
February 17, 2022

Please see screenshot. Is this the one you refer to & will it work with the latest version of Ps & Br ?

Kukurykus
Legend
February 18, 2022

Almost there....

 

You say - and when running script from menu hold Shift for Smart Object, Control for non-alligning

 

I replaced the script & it seems to be running ok, with the files loading as layers.

 

Then, if I hold the Shift key while launching the script, it collapses the layers into a Smart Object.

So far, so good.

 

I need a little further clarity -

Question 1: If I want it to either align or not align the layers, you say to hold or not hold the Control key?

I tried holding it & it gave a non-aligned result that looks very different to leaving that box un-checked in the Ps script dialog

Question 2: What do you do if you want both Smart Object And non-aligned

 

Thanks for all this help. Much appreciated

 

 

 


Loll I was sure it will confuse you, but I left it as it's default behaviour to allign layers? Anyway if you want it to be more intuitive then in the script change:

 

ctrlKey

 

to:

 

!ctrlKey

 

Then for Alligned layers & Smart Obejct you simply hold both Ctrl and Shift keys 😉

Kukurykus
Legend
February 17, 2022

You can do it with BridgeTalk method.

Inspiring
February 17, 2022

Thank you but I don't know what BridgeTalk is? As I said I can't code if that's what it is. I need a simple solution.