Script for make frames from layers (while retaining visibility for layers below) (2024)

Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • Log in
  • Register
  • Forums
  • Main Forums
  • Thread starterdmancini
  • Start dateJun 6, 2022

D

dmancini

Member
Messages
5
Likes
0
  • Jun 6, 2022
  • #1

Hi,
I have a file wih hundreds of layers that I want to show sequentially, from bottom to top, to make an animation. I know in the Timeline panel menu there is the command "Make frames from layers" that could do that.
What I need is similar but, instead of showing each layer at time, I need that all the layers below the current layer remain visible, because all of them are set to Darken blending mode.
Is there any script that could do that?

Thanks in advance

IamSam

Administrator

Staff member

Administrator

Messages
23,386
Likes
13,465
  • Jun 7, 2022
  • #2

Hello and welcome.

I myself am not understanding what it is you want. Being an avid animator, I don't see what you mean. When you use the "Make frames from layers" command, only active layers are added to the timeline. All you would need do is to turn off/deactivate the layers you don't want showing in any given frame.

dmancini said:

instead of showing each layer at time, I need that all the layers below the current layer remain visible, because all of them are set to Darken blending mode.

A frame in the timeline can only reflect the activated layers in the layers panel. For instance, Frame 1 would only show it's corresponding active layers, this could be one layer or many layers per frame.

I apologize. I'm just not understanding what you want.

  • Jun 7, 2022
  • #3

Hi, thanks for your reply.

I would like a script that can speed-up what usually I do manually. I’ll try to explain with an image.

The command “Make Frames From Layers” loops through all layers and makes a frame for each of them showing only ONE frame at time. What I need is the same loop, through all layers, but all the layers beneath the current must remain visible.

Thanks again

IamSam

Administrator

Staff member

Administrator

Messages
23,386
Likes
13,465
  • Jun 7, 2022
  • #4

Script for make frames from layers (while retaining visibility for layers below) (4)

Now it makes more sense! Thanks!

T

thebestcpu

Guru
Messages
3,072
Likes
2,833
  • Jun 8, 2022
  • #7

HI @dmancini

An Action could be created to do this yet it was not clear if wanted to create this or have a turnkey solution.

Here is the basic approach.

You start with all Layers with visibility turned on and the active Layer is to top Layer.

Create an animation which starts with Frame 1 (which will be assigned all the visible Layers)

The loop part of the Action is

Create the next Frame
Turn off visibility of the active frame
Drop down to the next lower visible frame

Those three steps continue until you are at the bottom of the Layer Stack

Note, Actions support conditionals and one of those is to be able to recognize when you are at the bottom of the stack and you stop the loop

Then all you do is reverse all of the frames and you are done.

One of the keys to make this work is knowing the commands which turn off visibility of the active Layer which is CMD + , (CNTL + , for Windows)

The other keyboard shortcut needed is to move down one Layer is CMD + [ (CNTL + [ for Windows)

One needs to use the keyboard shortcuts because if you use the mouse, the Action remembers that Layer position by the name of the Layer and you don't want that.

So quite possible to do with an Action.

Just wanted to have that option out there for you to consider
John Wheeler

D

dmancini

Member
Messages
5
Likes
0
  • Jun 9, 2022
  • #8

Hi @thebestcpu

thanks for your reply, I hadn't considered doing this with an action.

I made three actions:

1. loop: looks for the background layer and play an action based on that condition
2. make keyframes: make a frame, hide the current layer, select the backward layer
3. stop: makes nothing

It speeded up my work a lot but I have to play the button X time (where X is the number of layers). I can’t figure out how to make it automatically loop.

Maybe I need a script only for repeat the action?

I

[ iLLuSioN ]

Power User
Messages
391
Likes
402
  • Jun 9, 2022
  • #9

Script for make frames from layers (while retaining visibility for layers below) (6)

Trying to run an action on loop

Hi there, I have a large amount of images (~7000) and I'd like to stitch 4 of them together in a quadrant and save it as a file. Currently I import about 250 into separate layers and I made an action that aligns them to each corner to complete the quadrant, but I have to continually click the...

Script for make frames from layers (while retaining visibility for layers below) (7)community.adobe.com

T

thebestcpu

Guru
Messages
3,072
Likes
2,833
  • Jun 9, 2022
  • #10

My mistake @dmancini in regards to the looping in an Action. I made an untested assumption about Conditional Tests in Actions. Script for make frames from layers (while retaining visibility for layers below) (8)

So I second @[ iLLuSioN ] 's recommended link for the solution on looping an Action using a simple script.

It can be done in an Action, just not so elegantly as I thought you could e.g. you have the basic Action that takes the step down the Layer, then call that from another Action 10 times, then call that Action form another 10 times, and that Action 10 times from yet a third level. Simple to do and that would cover up to 1000 Layers (10x10x10). In the basic step down Action you end it with a conditional test checking if you have reached the background Layer (which is needed for the conditional test). When the conditional test is reached, you call an Action which is a do nothing and ends the Action at that point.

Sorry for the bad information on looping in an Action.
John Wheeler

D

dmancini

Member
Messages
5
Likes
0
  • Jun 10, 2022
  • #11

Thanks a lot @thebestcpu

The nested actions is a great solution that I hadn't thought of.

T

thebestcpu

Guru
Messages
3,072
Likes
2,833
  • Jun 10, 2022
  • #12

You’re welcome @dmancini
John Wheeler

Script for make frames from layers (while retaining visibility for layers below) (2024)
Top Articles
How to read a certificate of analysis (COA) for cannabis
Medical Center Downtown
Varsity Competition Results 2022
Craigslist Apartments For Rent Cheap
Irela Torres Only Fans
895 Area Code Time Zone
Pogo Express Recharge
10000 Divided By 5
Megnutt Health Benefits
Dangerous Cartoons Act - Backlash
Saltburn | Rotten Tomatoes
Gas Station Drive Thru Car Wash Near Me
Journeys Employee Discount Limit
Rick Harrison Daughter Ciana
Rs3 Ranged Weapon
Aspen Portal Amherst Ny
Famous Sl Couples Birthday Celebration Leaks
Bearpaws Tropical Weather
April 7 Final Jeopardy
Robotization Deviantart
Julie Green Ministries International On Rumble
Https //Myapps.microsoft.com Portal
Dr. Katrina (Katrina Hutchins) on LinkedIn: #dreambig #classof2025 #bestclassever #leadershipaugusta
Frontier Internet Outage Davenport Fl
Best Fantime Accounts
Stellaris Resolutions
Spanish Letter Closings: formal, friendly, and informal - Wanderlust Spanish
Paige Van Zant Of Leak
Live2.Dentrixascend.com
Best Birthday Dinner Los Angeles
Cric7.Net Ipl 2023
Po Box 24410 Omaha Nebraska
Eddy Ketchersid Obituary
Kraken Strategy Osrs
Shiftwizard Login Wakemed
How to Learn Brazilian Jiu‐Jitsu: 16 Tips for Beginners
Two Brothers Pizza Middletown Pa
Top 10 Best OSRS Ranged Weapons (Bows + Crowssbows) – FandomSpot
Clinical Pharmacology Quality Assurance (CPQA) Program: Models for Longitudinal Analysis of Antiretroviral (ARV) Proficiency Testing for International Laboratories
Below Her Mouth | Rotten Tomatoes
Boggle Brainbusters Bonus
Space Coast Fl Craigslist
Exclaimer | Office 365, Exchange & G Suite Email Software
Hercules 2014 Full Movie Youtube
Famous Church Sermons
Blog:Vyond-styled rants -- List of nicknames (blog edition) (TouhouWonder version)
Se compra un casoplón por un error de Crypto.com: le dieron 10 millones en vez de 100 dólares al pedir reembolso de criptomonedas
Kayla Simmons Of Leak
19 BEST Stops on the Drive from Te Anau to Milford Sound +Road Trip Tips!
Black Adam Showtimes Near Grand 18 - Winston-Salem
Enchiladas Suizas | Mexican Food Recipes, Quick and Easy.
Deciphering The "sydneylint Leaked" Conundrum
Latest Posts
Article information

Author: Tuan Roob DDS

Last Updated:

Views: 5760

Rating: 4.1 / 5 (42 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Tuan Roob DDS

Birthday: 1999-11-20

Address: Suite 592 642 Pfannerstill Island, South Keila, LA 74970-3076

Phone: +9617721773649

Job: Marketing Producer

Hobby: Skydiving, Flag Football, Knitting, Running, Lego building, Hunting, Juggling

Introduction: My name is Tuan Roob DDS, I am a friendly, good, energetic, faithful, fantastic, gentle, enchanting person who loves writing and wants to share my knowledge and understanding with you.