Update Modified Content (Linked layers / Smart objects)

Hey guys,
Is there anything in the API for handling the new Linked layers? (CC 14.2)
Specifically, I want to be able to Update Modified Content iteratively to handle lots of nested links.
It doesn't have to be pretty, just functional, as this is a very complicated task to do manually.
Cheers

Crude, but maybe this helps:
// 2014, use it at your own risk;
#target photoshop
if (app.documents.length > 0) {
var ref = new ActionReference();
ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
var applicationDesc = executeActionGet(ref);
var theXMP = applicationDesc.getString(stringIDToTypeID('XMPMetadataAsUTF8'));
var theFiles = new Array;
var theArray = theXMP.split("<stRef:filePath>");
for (var m = 1; m < theArray.length; m++) {
theFiles.push (theArray[m].slice(6,theArray[m].indexOf("</stRef:filePath>")));
if (theFiles.length > 0) {alert(theFiles.join("\n"))};
Edit: One problem, though: the list in the XMP metadata may not be up to date if the file has not been saved since the last linked SO has been placed or embedded.

Similar Messages

  • How do you unlink contents of dup Smart Object layer from it's Orig Layer?

    Say you are in camera RAW and you open the image as a Smart Object.
    THen duplicate that SO layer.
    I want to edit the RAW settings on the duplicate SmartObject layer to be different than the original SO layer.
    The problem is that when i do that, BOTH layers are updated with the most recent adjustment in RAW.
    I want only one to change and the original to stay the same.
    How do you unlink them so they act independent of one another when you edit the contents of the smart Object.
    Thanks in advance.
    -josh

    Yes, theres two cpmpletely different ways to duplicate Smart Objects. Command J or duplicate layer method which merely creates INSTANCES of the same Smart Object. This has a whole variety of different uses, and means that any edits to the smart object will reflect in all its instances.
    To duplicate the CONTENTS of the object, there is only one way to do it and Doug has told you how.
    Would be nice if command OPTION J did this as an alternative. And that there was some visual distinction in the layers panel between duplicated objects, objects with linked instances, and seperate objects.

  • Link a "Smart Object" with his Mask - possible?

    Hello -
    Is there a way to link a smart object and his mask?
    It's really annoying, because, when I move my smart object, his mask doesn't follow!
    Thank you, have a nice end of day
    - Dimitri

    At this time, Smart Objects can't have masks linked to them. So place your smart object in a group by itself, then create a mask for the group.

  • Action for Replacing Contents of a Smart Object

    I am using CS5/PS to create a collage created of several images (smart object layers) that I have positioned using individual clipping masks.
    I would like to be able to replace the contents of the images, which I can do via Layer>Smart Objects>Replace Contents...,   but I'd like to have an action for a "one-click" process instead of three clicks.  Problem is, when I try to record the action, it requires me to complete the replacement, and then the action gets hard-wired to replace the image used in the action "record", and therefore doesn't allow me to select which image I'd like to use.
    This functionality is available in PS Elements, so I believe it can be done.  I'm sure I'm missing something pretty basic, I just don't know what!!
    Thanks in advance,
      Brian

    »The separate Photoshop Windows and Macintosh forums will become Read Only on Tuesday, January 3rd.«
    Have you checked the »Toggle dialog on/off«-checkbox beside the item in the Actions Panel?

  • Import into photoshop as layered smart objects

    is there a way to import images into mulitiple images into photoshop as smart objects from bridge?
    Thanks

    I tried to using the ACR export setting: 'open as Smart Objects in PS' and
    hit done, revert to Bridge and with Tools - load to layers.
    It seemed the obvious route for me but it did not work sadly enough.
    However using the load to layers tools gives you the option to select the
    layers in the file and then convert to smart objects, only you have to do it
    one by one I'm afraid.
    is there a way to import images into mulitiple images into photoshop as smart
    objects from bridge?
    Thanks

  • Replace content of multiple Smart Objects

    Here's simplified version of my dilemma: (Photoshop CS5.1)
    A file contains 3 instances each of 2 unique Smart Objects. Is it possible to Replace Contents of all 6 objects so that they share a common source content?
    Seems simple. Doesn't work.

    The only other thing I can suggest is to post in the Photoshop Scripting forum to see if the scripting wizards there have a script to solve your issue. 
    (I couldn't script my way out of a paper bag myself.)
    http://forums.adobe.com/community/photoshop/photoshop_scripting

  • Vector Mask won't link to Smart Object

    When I apply a vector layer mask to a Smart Object the mask won't link to the SO layer. Is there a way to force it to link?
    I can't resize or move them at the same time, which is driving me crazy.

    Put the SO in a group. Link the mask to the group.
    Or upgrade to CS4.

  • Layers, Smart Object, or PSD?

    Hello
    I'm a casual user of CS3, and would like to do a large amount of editing of a JPG requiring many sessions and many saves.  How best should I do this?  Should I:
    1) Create a layer for editing; save the file each time I quit and not worry about image degradation?
    2) Create a smart object; is the smart object for this purpose?  A brief run-through on creating the smart object, and finally saving back as a JPG would help, thank you :-)
    3) Merely save repeatedly in Photoshop format, PSD, and not worry about image degradation?
    Thanks for your help!
    Pete291

    …would like to do a large amount of editing of a JPG
    You don't 'edit' a jpeg. No one edits a JPG. You edit an image. When the image is open in Photoshop, it has no format as such.
    JPG is a destructive, compressed format, PSD is not. When you save as PSD you lose no quality whatsoever. So if you have many saves, the last option is most probably the most sensible.

  • RAW files linked as smart objects not affected by LR5

    My understanding of linking (rather than embedding) a file in the latest Photoshop CC 2014 is that it would allow the linked file to be edited outside of Photoshop and still update when the parent file is opened in Photoshop.
    However after placing, as a link, a raw file within Photoshop, (that had been edited in LR 5.7 and retains the last LR appearance), I find that if I reopen it in LR 5.7 and make further edits, it does not appear to affect the linked file in Photoshop. I am not even getting a ' ! ' to indicate something was changed outside of the program that I am in. Are raw files excluded from this feature? Are raw linked files still behaving as though they are 'embedded' and can only be further edited using Camera Raw?

    Shootistbond007 wrote:
    station_two wrote:
    What I'm saying is that Camera Raw cannot see or access a sidecar file inside a Lr catalog.
    The Sidecar files are not in the LR catalog. You keep harping on LR doesn't use camera raw, which it does…
    No it does not.  It utilizes its own internal conversion engine, which is NOT Adobe Camera Raw.  It behaves very similarly, but it is NOT Adobe Camera Raw.
    Whatever you want to call that "module", it is NOT Adobe Camera Raw, and it's developed by the Lightroom Engineering Team, not by the Adobe Camera Raw Engineering Team.
    The various Adobe engineering teams are totally independent of each other, they are not only in different buildings but in different cities and states of the American Union, even in different countries.
    The fact that they have little if any communication among them is highlighted by requests occasionally made in these forums by top Adobe engineers to let the other teams know when there are problems in one application that impact our workflow in another one.

  • Layers Smart Objects Stack Modes (CS3/4 Extended)

    Are any of the Stack Modes besides Median and Mean (Noise reduction) good for anything? Have any of you found a use for them?
    Thanks!

    If you don't recognize the statistical names on them - then they probably won't be of much use to you.
    If you are doing statistical work on images, then you should recognize the names and they would be quite useful.

  • How do you update the location of linked smart objects?

    The new linked smart object feature was a low-key feature but it's fundamentally changing our workflow for the better!
    Quick question, is there a way to update the paths to linked smart objects or will Photoshop work it out? I can't see a links panel under WIndow or file so am not sure how you do it sorry.
    I'm about to edit these files at home and want to make sure Photoshop can find the links - as well as find everything when I copy it all back to the server and work.
    Cheers
    ben

    Yes, the linked smart object can be either raster or vector, but they will be placed as raster images, just as the embedded SO are.  SO can be embedded or linked to an outside file.  Edits to the original will not update in the original until you select "Update modified content from the menu" when you reopen the file that has the place SO in it.  otherwise it will update when you save the linked file.  Yes, there still is an advantage to having an embedded SO.  You may not want to maintain the links - send a file off and forget to include the linked files.  You may want to alter the SO, but not the original file.
    Ah, thanks. But does this mean that raster and vector smart objects can EITHER be located within the Photoshop file (as they have been since their advent) OR linked to an external file?
    And if so,
    1. Can this linked file be either raster or vector?
    2. Do edits to it automatically update the Photoshop file?
    3. Is ther any longer any advantage to having the smart object data stored within the Photoshop file when it can be linked?

  • Illustrator Smart Objects are "Linking" to each other in PS file.

    This strange behavior started after I upgraded to the latest PS CC which includes the "linked" vs "embedded" smart object feature.
    When I edit previously created PS files that contain mulitple linked Illustrator smart objects, an edit to one smart object will update a different smart object within the same file. These are not duplicates of a single smart object layer, they are completely independent smart objects, containing different graphics.
    Has anyone else seen this? Is there anyway to break the link between all Illustrator graphics within a document so this won't continue to happen?

    Here'a link to the original file. http://adobe.ly/1d6uwA1
    This was created with PS CS6. I recently had to do some modifications to it, and that's when I noticed the strange behavior with SO. Of course when I tried to duplicate the weirdness this morning, I was unable to do so. I know for certain though, that on two different occasions I updated one SO layer and the it replaced the contents of a different SO layer.
    I did notice some other oddities while playing with this today. Here's what I did.
    Open the file, and save with a new name to make a copy.
    Edit a couple SO layers with Illustrator
    Close the file and save
    Open the file back in PS and again edit a SO
    This time when I save the SO I get this message "This file has been modified outside of Illustrator. Do you want to continue". I say yes to save it. I only get this message after I have closed the file and reopened it for more edits.
    Another oddity; if I leave a SO open in Illustrator by just saving without closing the file. Then close the Photoshop file linked to that SO. When I open a new Photoshop file and try to open a SO within it, PS thinks the SO that was left open is the one I want to work on. I have to close out the previous SO to get the new one to open correctly.
    I work with a lot of Illustrator SO's in PS. So I will continue to monitor what happens, and try to pay very close attention to what steps I took if and when the weirdly linked SO layers happens again.

  • Smart Object as traditional link (as in InDesign or Illustrator)

    Is there a way to link a smart object, so that updates are made to the originally placed object ....as opposed to creating a new vector file save in a temporaray folder.  Is there a way to work with smart object like traditional links in InDesign and Illustrator?
    Thanks

    Check out this Links Panel that let’s you create Linked Smart Objects to external files:
    http://www.ps-scripts.com/bb/viewtopic.php?f=27&t=3045&sid=70f368dca9bfd96f3c974ee11b798f9 7

  • Edits to a JPG Smart Object  in a layered TIFF file:  DOES NOT Save to the originally placed file?

    When placing a JPG as a Smart Object (and even multiples) into a layered TIFF file:  If I open each layered Smart Object JPG, make changes as a JPG and SAVE the file, I expect the ORIGINAL SOURCE JPG file that was placed to also be saved- I thought that is the file I was editing!
    This SUCKS!  To capture my edits to the original individual files:  I now have to open each layed TIF file, Edit each smart object JPG and SAVE AS to overwrite the original and capture my changes?  Is this the way its always been- I don't think it has.  How can I edit a Smart Object file in a layered document and ALSO update the SOURCE file?

    You should edit the original jpg, and then replace the smart object. There is a utility that makes this easier, if you do many of these. Looks liek this
    link_update.zip

  • Replace content smart objects doesnt work properly.

    Hello fellow Photoshoppers,
    Currently i am working on reusable album templates with smart objects. At first i was very enthusiastic but this was soon to end. as the replacing doesnt work properly.
    I made the smart object by using:
    1. > file
    2. > place
    then i try to replace the content by using.
    1. > layer
    2. > smart objects
    3. > replace contents
    the old image should get replaced by the chosen file and matching size, smart layers etc. However when i perform the same actions my image gets replaced but it is not the same size as the smart object it replaced. This makes the entire template useless as it would take far too much time resizing every single image. inspired by another video I also tried double clicking the layer and tried replacing the image in the editing sceen by dragging another file on top of the smart object. Again, it does not spread out to the full smart object size and i'm stuck with a small image in need of extra work.
    Needless to say, very frustrating.
    Any thoughts?

    Are you sure you understood how it is intended work?
    That is an interesting question, i have no experience with photoshop as i bought CS5,5 just a week ago and have no experience with any of the previous versions either. All info regarding how to make such a template i found from various tutorials, i posted one below. When they do it the image get scaled perfectly. Now since they use some smart filters in the tutorial i applied them aswell to see if this would fix the problem but it did not.
    http://www.picturesocial.com/video/wedding-photo-album-templates
    Are the images you want to switch in at least always of the same width to height-relation?
    I checked both files for consistency and discovered they were shot on different camera's. One file ( the origional smart object ) was cropped form a 21,0MP file and the other was croped from a 10,1 MP file. Both images were cropped to a 2x1 ratio. Having discovered the difference in pixel amount i cropped a different 21,0 MP file to 2x1 ratio and checked both files for their exact dimensions (both images are equal in size with 5616 x 2808 pixels) and replaced the content with the newly cropped file which gave a much better result. However, the image was slightly smaller in photoshop leaving a small gap where the origionally placed smart object lined up perfectly. I turned the situation around and placed the 10,1MP cropped image as the smart object and replaced the content by a 21,0 MP cropped image. As to be expected i ended up with a new image much larger then the smart object. So the smart object does not constrain the files to the dimensions set. As it turns out it only scales the replaced content relative to the size of the origional content of the smart object.
    I just need a reusable template with objects that:
    - cannot be moved once locked ( if possible) but can have its content replaced
    - scales the replaced content to the predefined dimensions
    - needs no prework like cropping to the same aspect ratio as the smart object content. ( i want to be able to place a landscape sized raw (3x2) on any landscape format  (2x1 / 16x9 / 4x3 or whatever) i find it acceptable to having to crop a portret to landscape orientation first before being able to replace a landscape.
    now ive been searching for more info and some people say indesign is much faster in making album pages so I am installing the program as we speak hoping this will be the solution.

Maybe you are looking for

  • Get unique value for a range of values from a table

    Please help to identify the sql to get unique value for following scenario Table A has 3 columns column1 column2 column3

  • Changing objects

    how do i change my structures, function modules, api and all other objects i created as Local objects to transportable objects and to a package. Also how do i create my own new package.

  • Basic NOT EXISTS query not returning any results

    DB Version: 10gR2 One of our tables in the test schema is having less number of columns than the PROD shema. To determine which are missing columns in this table in Test schema i did the following. -----In Test Schema CREATE TABLE XYZ2 (COL1 NUMBER);

  • Best practice regarding automatic IU documents

    Hi Team, In case of automatic postings at IU elimination how to configure document type in order to allow different subassignments like segments. This sub assignments field in case of automatic posting documents allowing at header level and at the ti

  • HELP with Motorola MotoKRZR K1m

    I purchased a Motorola (MotoKRZR K1m) phone and it syncs with Windows media player to get my music. When I browse to get all of my music files (that I Paid for), none of the iTunes music can be played by Windows Media Player?!? I tried changing the f