Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 11 Jun 2007 (Monday) 04:12
Search threadPrev/next
sponsored links (only for non-logged)

Semi-complex action/scripting question

 
tim
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
     
Jun 11, 2007 04:12 |  #1

I'm trying to write an action/script that will do this... anyone know if it's possible without having to learn PS scripting? I think it's JavaScript based which i'm not fond of.

What I want is:
- Open a PSD file. The file will be layered, with a white background layer, have between 1 and 20 layers with images on them, and will likely have adjustment layers.
- Turn the layer background black.
- Apply a layer style (grey stroke 5px say) to every layer with an image on it. This has to exclude the background layer and adjustment layers.

Anyone have any ideas?


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
Victoria ­ Bampton
Goldmember
Avatar
1,367 posts
Likes: 7
Joined May 2007
Location: Southampton, UK
     
Jun 11, 2007 05:00 |  #2

Besides excluding the adjustment layers, you can do this with an action, but I can't immediately think of a way of excluding the adjustment layers - but that shouldn't matter if they aren't masked, correct?

Try this:
First save your layer style in the styles palette - one off task
Open file
Start recording
Select layer 'Background'
Edit > Fill with Black
Select > Select All Layers (does everything except Background)
Styles Palette > Apply Style

Other than that, you're going to have to get involved with scripting and looping through layers. This Photoshop Commander Script by Andrew Hall would probably minimize the amount of work involved http://www.ps-scripts.com …2e414d3faed28f6​d2fbf557aa (external link), or get in touch with me off-forum and we'll sort something out.


Victoria :D
Lightroom Queen website (external link)
Free & Comprehensive Lightroom Books (external link)
Free List of Lightroom Keyboard Shortcuts (external link)

  
  LOG IN TO REPLY
tim
THREAD ­ STARTER
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
     
Jun 11, 2007 05:53 |  #3

Victoria, you're a genius! The hardest part was working out how to save a style, but google helped me. Thanks! :) :D


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

494 views & 0 likes for this thread, 2 members have posted to it.
Semi-complex action/scripting question
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member was a spammer, and banned as such!
2862 guests, 156 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.