Automate 'Load files into stack' and save as new file

Hello there,
I hope someone can help me with the following issue:
I have 300 folders, each containing 100 images which I need to open as layers, change the opacity to 1% for every layer, flatten the image and then save as a new file. So for every folder I would need one new file generated from the 100 originals.
I know how to do it manually, i.e. load every folder with the 'Load files into stack' command and let an action run for the rest, but that does take some time with 300 folders. Maybe someone knows how to manipulate the 'load files into stack' script so that it does the job independently.
Thank you for your answers.

I think you would be better off starting from scratch with a new script for the design and structure of the 'Load files into stack' script is not easy to comprehend.
I guess that’s sound advice.
But another point, leroybak:
What are you trying to achieve here anyway?
If you want to »blend a movie into one image« like a continuous exposure of the whole movie on photographic paper (and it has been done) changing all layers opacity to 1% might be not altogether the ideal route.
Instead converting the Layers to one Smart Object and invoking Layer > Smart Layers > Stack Mode > Mean might be better in that all layers contribute to the resulting values equally.

Similar Messages

  • How to change and save a new file in Edge web Lumira server for Team ?

    Hi Lumira folks,
    I've installed SAP Lumira 1.0, Edge edition and View a sample 'Dairy Wholesaler-Sample"
    I'd like to change it and save as new file, but "Save" button is disabled and when I put my mouse over the button,
    it says "Save Option is disabled in this version".
    Is there any idae how to change and save as a new file in Lumira Edge ?
    Many Thanks.
    JH

    I've just found the reason as below.
    http://scn.sap.com/community/lumira/blog/2015/03/20/lumira-server-for-teams-edge-edition-version-compatibility
    The current version of Lumira
    server for teams is 1.0. This version uses Lumira 1.22 as its 'engine' as this
    was the version of Lumira Desktop that was shipped at the same time.
    Hence with the current Lumira
    version compatibility; namely that a newer version of the product can open an
    older document, but an older version cannot open a newer document, care must be
    taken when deploying Lumira server for teams.
    Lumira server for teams is only
    compatible with Lumira desktop 1.22. If you intend to deploy Lumira server for
    teams, ensure your desktop users do not move to a later version of the desktop.
    Content created in a later version of Lumira desktop can be uploaded and shared
    via Lumira server for teams, but it cannot be viewed or edited online in the
    browser.
    Ensure desktop users disable the
    auto update capabilities in the desktop preferences, and set the update to
    none.

  • Merge Multiple CSV Files Into One and save it into new file

    Below code run in specific directory. However I'm looking a code which will select the folder  & save it into new sheet.
    Can you help me with this? I've searched for a solution for a long time but could not find anything which worked.
    The following is the start of the macro code
    Sub OpenCSV()
    Dim i As Integer
    ' change this next line to reflect the actual directory
    Const strDir = "C:\Documents and Settings\shekar\"
    Dim ThisWB As Workbook
    Dim wb As Workbook
    Dim ws As Worksheet
    Dim strWS As String
    Set ThisWB = ActiveWorkbook
    Set fs = Application.FileSearch
    With fs
    .LookIn = strDir
    .Filename = "*.csv"
    If .Execute(SortBy:=msoSortByFileName, _
    SortOrder:=msoSortOrderAscending) > 0 Then
    For i = 1 To .FoundFiles.Count
    Set wb = Workbooks.Open(.FoundFiles(i))
    strWS = wb.Sheets(1).Name
    wb.Sheets(1).UsedRange.Copy (ThisWB.Worksheets(strWS).Range("A1"))
    wb.Close False
    Next i
    Else
    MsgBox "There were no files found."
    End If
    End With
    End Sub

    The below will do the.But be careful if any of csv file name is more than 31 then Excel will not allow it to name the sheet with filename.
    Sub OpenCSV()
    Dim i As Integer
    ' change this next line to reflect the actual directory
    Const strDir = "C:\Documents and Settings\shekar\"
    Dim ThisWB As Workbook
    Dim wb As Workbook
    Dim ws As Worksheet
    Dim strWS As String
    Dim sFileName As String
    Set ThisWB = ActiveWorkbook
    With Application.FileDialog(msoFileDialogOpen)
    .InitialFileName = strDir
    .Filters.Clear
    .Filters.Add "CSV Files", "*.csv"
    If .Show Then
    For i = 1 To .SelectedItems.Count
    Set wb = Workbooks.Open(.SelectedItems(i))
    sFileName = .SelectedItems(i)
    Set ws = ThisWB.Worksheets.Add(before:=ThisWB.Worksheets(1))
    ws.Name = ActiveSheet.Name
    wb.Sheets(1).UsedRange.Copy ws.Range("A1")
    wb.Close False
    Next i
    Else
    MsgBox "There were no files found."
    End If
    End With
    End Sub
    Please do not forget to click “Vote as Helpful” if any post helps you and
    Mark as Answer if it solves the issue.

  • Can I modify 'Load Files into Stack.jsx' for custom white balance?

    I've been wondering whether its possible to change Adobe's 'Load Layers in Stack' script so that it loads RAW files with the white balance adjustments I have made in Camera Raw ('ACR').
    At present, the script loads the files as layers with the default ACR (or Lightroom) settings. This means that any white balance adjustments to the file in ACR are ignored and the RAW file is loaded with the WB 'As Shot'.
    It IS possible to save new ACR default settings, but this doesn't really help because I don't want the WB to be a constant value. The changes I make in ACR are usually subtle and 'by eye'.
    I would like the script to be mindful of these changes when opening the RAW file.. does anyone have any suggestions?
    The script is below.
    // (c) Copyright 2006.  Adobe Systems, Incorporated.  All rights reserved.
    @@@BUILDINFO@@@ Load Files into Stack.jsx 1.0.0.1
    // Load Files into Stack.jsx - does just that.
    // BEGIN__HARVEST_EXCEPTION_ZSTRING
    <javascriptresource>
    <name>$$$/JavaScripts/LoadFilesintoStack/Menu=Load Files into Stack...</name>
    </javascriptresource>
    // END__HARVEST_EXCEPTION_ZSTRING
    // debug level: 0-2 (0:disable, 1:break on error, 2:break at beginning)
    //$.level = (Window.version.search("d") != -1) ? 1 : 0;          // This chokes bridge
    $.level = 0;
    // debugger; // launch debugger on next line
    // on localized builds we pull the $$$/Strings from a .dat file
    $.localize = true;
    // Put header files in a "Stack Scripts Only" folder.  The "...Only" tells
    // PS not to place it in the menu.  For that reason, we do -not- localize that
    // portion of the folder name.
    var g_StackScriptFolderPath = app.path + "/"+ localize("$$$/ScriptingSupport/InstalledScripts=Presets/Scripts") + "/"
                                                                                                        + localize("$$$/private/LoadStack/StackScriptOnly=Stack Scripts Only/");
    $.evalFile(g_StackScriptFolderPath + "LatteUI.jsx");
    $.evalFile(g_StackScriptFolderPath + "StackSupport.jsx");
    $.evalFile(g_StackScriptFolderPath + "CreateImageStack.jsx");
    // loadLayers routines
    loadLayers = new ImageStackCreator( localize("$$$/AdobePlugin/Shared/LoadStack/Process/Name=Load Layers"),
                                                                                                          localize('$$$/AdobePlugin/Shared/LoadStack/Auto/untitled=Untitled' ) );
    // LoadLayers is less restrictive than MergeToHDR
    loadLayers.mustBeSameSize                              = false;          // Images' height & width don't need to match
    loadLayers.mustBeUnmodifiedRaw                    = false;          // Exposure adjustements in Camera raw are allowed
    loadLayers.mustNotBe32Bit                              = false;          // 32 bit images
    loadLayers.createSmartObject                    = false;          // If true, option to create smart object is checked.
    // Add hooks to read the value of the "Create Smart Object" checkbox
    loadLayers.customDialogSetup = function( w )
              w.findControl('_createSO').value = loadLayers.createSmartObject;
              if (! app.featureEnabled( localize( "$$$/private/ExtendedImageStackCreation=ImageStack Creation" ) ))
                        w.findControl('_createSO').hide();
    loadLayers.customDialogFunction = function( w )
              loadLayers.createSmartObject = w.findControl('_createSO').value;
    // Override the default to use "Auto" alignment.
    loadLayers.alignStack = function( stackDoc )
              selectAllLayers(stackDoc, 2);
              alignLayersByContent( "Auto" );
    loadLayers.stackLayers = function()
              var result, i, stackDoc = null;
              stackDoc = this.loadStackLayers();
              if (! stackDoc)
                        return;
              // Nuke the "destination" layer that got created (M2HDR holdover)
              stackDoc.layers[this.pluginName].remove();
              // Stack 'em up.
              if (this.createSmartObject)
                        selectAllLayers( stackDoc );
                        executeAction( knewPlacedLayerStr, new ActionDescriptor(), DialogModes.NO );
    // "Main" execution of Merge to HDR
    loadLayers.doInteractiveLoad = function ()
              this.getFilesFromBridgeOrDialog( localize("$$$/private/LoadStack/LoadLayersexv=LoadLayers.exv") );
              if (this.stackElements)
                        this.stackLayers();
    loadLayers.intoStack = function(filelist, alignFlag)
              if (typeof(alignFlag) == 'boolean')
                        loadLayers.useAlignment = alignFlag;
              if (filelist.length < 2)
                        alert(localize("$$$/AdobeScripts/Shared/LoadLayers/AtLeast2=At least two files must be selected to create a stack."), this.pluginName, true );
                        return;
              var j;
              this.stackElements = new Array();
              for (j in filelist)
                        var f = filelist[j];
                        this.stackElements.push( new StackElement( (typeof(f) == 'string') ? File(f) : f ) );
              if (this.stackElements.length > 1)
                        this.stackLayers();
    if (typeof(loadLayersFromScript) == 'undefined')
              loadLayers.doInteractiveLoad();

    This is part of the script looks interesting - is there a reference where can I find more hooks? Perhaps there is one that relates to WB?
    // LoadLayers is less restrictive than MergeToHDR
    loadLayers.mustBeSameSize                              = false;          // Images' height & width don't need to match
    loadLayers.mustBeUnmodifiedRaw                    = false;          // Exposure adjustements in Camera raw are allowed
    loadLayers.mustNotBe32Bit                              = false;          // 32 bit images
    loadLayers.createSmartObject                    = false;          // If true, option to create smart object is checked.
    // Add hooks to read the value of the "Create Smart Object" checkbox
    loadLayers.customDialogSetup = function( w )

  • PS CS3 extended "load files into stack" question

    Hi,
    I've been trying to use the "Load files into stack" script in PS CS3 extended but the problem is that if for example I have files with these names:
    File_1
    File_2
    File_3
    when I use the script it puts them together but in the wrong order so in my layers they are like this:
    File_1
    File_2
    File_3
    which would be wrong because the File_1 is my first image but it's the last layer so if I make this into a gif file and watch it, it would play backwards.
    I was wondering if there is away to fix this. thanks in advance.
    PS: If there is anything I need to provide to make it easier for you to help me, please ask.

    Thank you jugenjury for your fast replay, but let me explain what exactly I'm doing maybe it helps, I'm not very familiar with PS so I'm kinda confused about what you just said.
    I'm trying to make a .gif from an .avi file. I tried using the File>Import>Video Frames to Layers but I get all blank layers so I used another program to take mass screen shots. so I have 133 images which I want to make into a .gif file. I use the Load files into stack script then in the animation tool I select the "make frames from Layers". It all works out so far but the problem is that the video plays backwards because of the problem I explained in first post.

  • Modify Load Files into Stack.jsx

    I am new to Photoshop Scripting so I am sorry if this has already been answered, but I can't seem to find out the answer or figure this one out.   I am writing a script that is doing an INCLUDE using the Photoshop script Load Files into Stack.jsx.  This script seems to name the layers the Filename.  I would like to figure out how to modify this script to not include the file name in the layer and just put Layer 1, Layer 2.  Any help would be greatly appreciated. 

    That may work, but I am not sure what to put into the script and where (sorry, yes I am new at this, this is my first attempt and Photoshop scripts).  Here is what I am doing and what I have coded so far.  I have created a droplet that would move files over into Photoshop do some reformating of the images and then when I get 4 images into Photoshop I am merging the open documents into a separt document and then kicking it back over to an action to do some more formatting with the combined document.  Here is the code I have so far. 
    var loadLayersFromScript = true;
    //@includepath "/C/Program Files/Adobe/Adobe Photoshop CS5.1 (64 Bit)/Presets/Scripts/"
    //@include "Load Files into Stack.jsx"
    var files = [];
    // declare local variables for close files
    var name = activeDocument.name;
    for(var d =0;d<app.documents.length;d++){
        try{
            files.push(app.documents[d].fullName.fsName);
        }catch(e){
            alert(localize('$$$/AdobePlugin/Exposuremerge/Mustsave=Documents must be saved before they can be merged'));
    if( d > 3 ){
    loadLayers.intoStack(files,true);
    // close documents except Untitled document
    while (documents.length > 1) {
      for (var i = 0; i < documents.length; i++) {
    // close all documents except the active document
      if  (documents[i].name != "Untitled1") {
                  documents[i].close(SaveOptions.DONOTSAVECHANGES);
    doAction("Resize Canvas", "Finish Document");
    The reason I need the Layers to not be names is because the document names change and I can not get the actions to work with the differences in the Layer Names when the new files come in. 
    Any help would be GREATLY appreciated.   

  • Command "Load Files into Stack" part of CS4 Standard or CS4 Extended only?

    Hi,
    this question is about Photoshop CS4, not previous versions.
    About this Photoshop command:
    File > Scripts > Load files into stack
    Is it part of CS4 Standard - or CS4 Extended only?
    And this command from within Bridge CS4 (not earlier versions):
    Tools > Photoshop > Load files into Photoshop Layers (or so)
    Is it only in CS4 Extended or also in CS4 Standard?
    On a side note: I do have CS4 Extended, but sometimes want to know what's actually doable in CS4 Standard (for teaching, screenshots, etc). Is it possible to run the Extended version in Standard mode? Could a "work space" be defined for that (once you know the differences) or better could a "work space" be downloaded for that? Could Extended be switched to show as Standard?
    Thanks for all clever hints!

    Extended and Standard are the same app. the extended features are unlocked with an extended serial number. The scripts may show but you might not be able to use them.

  • Load Files into stack failing after 1 image

    I've got 2 machines with Photoshop CC, both trying to load multiple images into a stack.  What happens is they load up the first image, and a layer called "load layers" and then it stops, never loading any more than the initial one.
    They're regular .jpg images as far as I can tell, is there anything else that could be causing an issue like this?

    It's completely replicatable, but only with that script, load files into stack, new images, new folder, new user, still doesn't work.  Is this why it's really strange to me.  I have no common ground between the computers as far as I know.

  • Load files into Stack Problems

    So what happen was this. I make GIFs as a hobby. But what happen was that 3 days ago, I opened my Photoshop CS5.1 Extended version 12.1 (x64) and did the usual thing.
    I went to Scripts and to Load Files into Stacks. I loaded my files and pressed OK. So here's the funny part, usually, the pictures will load by itself and eveyrthing will be in order. But what happen was that the layers load to around 6 to 7 layers and everything just disappear. Literally disappear. Like I didn't even load anything. No canvas, no images, nothing. I thought it was a bug or something so I reinstalled my CS5 but the problem remains.
    So I try with my CS6 Extended version 13.0 x64. (That I barely use because I'm still more comfortable with CS5.) And the same thing happens.
    I decided to Google it and nothing comes up. I do not know whether is it my laptop or something went wrong somewhere. This has never happen before for the amount of time I have CS5.
    I even change my scratch disc space. Last time it was on (C) with around 20GB space and nothing happens. So I changed it to my D drive and it has atleast 150GB space. I even tried closing every applications I have to test whether is it something related to my ram. But nothing happens. The problem remains.
    So I require some help because I asked around and it appears that none of my friends knows whats wrong.
    Here's my system information:
    Window 7 Ultimate Service Pack 1
    Intel (R) Pentium (R) CPU B970 @ 2.30GHZ
    6.00 GB Ram
    Running on 64-bit OS
    Graphics:
    Intel(R) HD Graphics Family

    When you start having problems with Photoshop.  Most of the time its because of something external to Photoshop or your user id Photoshop preferences.   Reinstalling Photoshop seldom fixes these problem. For User preferences survive across the reinstall. Third party plug-in may as well. Since you have the problem with both CS5 and CS6 it may have to do with the files your loading into the stack. For that something both version are trying to process.  CS5 and CS6 haves separate Preferences and third party add on must be installed into each though they may share plug-in if you use Photoshop Preferences to and a additional plug-in path and you use the same path for CS5 and CS6.

  • " Load files into stack" Crach photoshop CC since the last update

    Hello,
    I have a probleme since the last photoshop's update... I don't don't know if it's the update is the reason for this crach but I'm used to working with this module often "Load files into stack" but this is the first time since Friday that is photoshop bug and has to be the restart.
    Do you have a solution?
    Thank you in advance

    Thank you JJMack for your reply, sorry for my english.
    This is strange because I have to use this module 2-3 times a day and twice with more of 20 pictures
    I have copy all information for you :
    Version Adobe Photoshop : 14.1.2 (14.1.2 20130923.r.427 2013/09/23:23:00:00) x64
    Système d'exploitation : Windows 8 64 bits
    Version : 6.2
    Architecture système : UC Intel Famille :6, modèle :10, niveau :9 avec MMX, SSE Entier, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Nombre de processeurs physiques : 4
    Vitesse du processeur : 2994 MHz
    Mémoire intégrée : 8064 Mo
    Mémoire libre : 1788 Mo
    Mémoire disponible pour Photoshop : 6990 Mo
    Mémoire utilisée par Photoshop : 70 %
    Taille de la mosaïque d'images : 0K
    Niveaux de mémoire cache de l'image : 0
    Affichage : 1
    Limites d'affichage : haut = 0, gauche = 0, bas = 1050, droite = 1680
    Dessin OpenGL : Activé.
    Anciens GPU OpenGL autorisés : Non détectés.
    Mode de dessin OpenGL : Avancé
    Mode OpenGL normal autorisé : Vrai.
    Mode OpenGL avancé autorisé : Vrai.

  • I have a pdf file which contains text if i copy all text and paste them into notpad and save file as .txt Is it change the ascii value of text ?

    I have a pdf file which contains text if i copy all text and paste them into notpad and save file as .txt Is it change the ascii value of text ?

    How to know character's encoding is ASCII?

  • When a user rasterizes a color image in AI and copies into Excel and saves file the image is BW

    When a user rasterizes a color image in Illustrator and then copies it into Excel and saves the file the image turns black and white. I uninstalled and reinstalled the whole suite already, deleted the perference files that i could find. and also look at the rasterizing settings they are the same as mine and another user. Any other things I can try? Where are the default rasterize settings stored at?

    You can do a save for web and choose .png or ,jpg format. Uncheck transparency.

  • Photoshop CC 2014 - Stack Mode Disabled - Load Image Into Stack Has No "Convert To Smart Object" Option

    Hi,
    I have just installed Photoshop CC 2014.1 and I have "Stack Mode" command disabled.
    Also, I have no option to convert layers into smart object  when I run "Load Image Into Stack" command.
    Can you please tell me how to enable these features?
    Thank you very much.
    Luca

    The 512 MB are a minimum requirement, not some optional thing. Without it, 3D will never work.
    Mylenium

  • Trying to load pre-2006 lso files into Logic 8 on my new intel Mac Pro

    I'm trying to load pre-2006 lso files into Logic 8 on my new intel Mac Pro, but they crash the app every time. files saved 2006 and later load OK. Anybody shed any light on this or know of a fix (other than the laborious work-around of re-saving all early lso's in logic 8 on the PPC and physically moving them via a portable drive to the new machine)?
    (BTW, those files also crash the Logic 7 installed on the intel Mac.)

    Upon further work with my migration, I find I was incorrect in the time frame assertion of these failed files: apparently, the creation/modification dates have nothing to do with it and the reality is that some files fail at random, while others load just fine. right now it looks to be about 50/50 Beats me why this is.
    Anyway, for those interested, I've discovered a very helpful key to the quick processing of file data for a plethora of files (i. e. re-saving the "bad" lso files as Logic 8 projects on the older CPU and moving them over to my new machine), and that is the 'control key/launch' of the app. I hadn't realized that Apple had added this feature to Logic to enable easier work on multiple song files when one does not require the audio.
    For those who don't know about it, the 'control key/launch' provides an option to disable the core audio at app start-up, thus allowing files to load instantly without loading the plug-in library files associated with tracks - great for copying MIDI data between song files, or in this case, re-saving a batch.
    Still puzzled, though, as to why so many older lso files crash Logic when they attempt to load on my new CPU.

  • I am trying to import quicktime audio files into FCPX and it's saying they're not suppored - Help?

    I am trying to import quicktime audio files into FCPX and it's saying they're not suppored … Help?

    Here is the How to import in itunes 11. Including the Join tracks option.
    http://support.apple.com/kb/PH12278
    Also if you have imported them then  this article gives a good understanding of how to tag these songs
    http://samsoft.org.uk/iTunes/audiobooks.asp
    the other option would be to use an App like Audiobook Builder to stitch the tracks together in upto 12 hour long sections and sends to itunes automatically. It is available in the App Store. There are others available, Audiobook binder is free

Maybe you are looking for

  • Unable to import the user certificate into the Oracle Wallet Manager

    Hi, I am configuring the External Authentication plugin using the password filters. i am using the version 10.1.0.5.0 version of Oracle Wallet manager inorder to do that i am enabling the SSL mode. to enable the SSL mode i followed the some steps in

  • How to see wsdl in JBoss?

    Hi, I have deployed a WebService application in JBoss. How to see wsdl at server (JBoss) side? I have supplied url: http://localhost:8080 in the browser, It is showing the below page, from here how to see the wsdl file? JBoss Online Resources     * J

  • How to handle the jdbc receiver error

    hi,expert:   I have a synchornous scenario:SAP/ECC(Proxy) to JDBC(SQLServer),ECC Send the message and insert data into the  database,when insert sucessfully the receiver returns the count of the sucessfull inserted  record . Not use store    procedur

  • How do I get VPN access

    I recently purchased a MacBook and wanted to know how I can get access to VPN? I assumed it was already installed, or do I have to get access from my IT dept? Any help would be appreciated, thanks. Mercedes

  • Aperture problems

    I am using Aperture 3 to manage and manipulate my photos but I am still struggling with understanding where my photos are stored. I want to attach them to emails but when I do it has "review" written across the top. I also need to resize them.  I can