How open and copy smart object

Hi,
I read topics about smart objects but i not found solution on my problem.
1. I need open smart object layer
2. copy all layers from the smart object to another file
Thanks

I think you may be better off just copying the smart object layer from the source document into the target document.  There may be several different resolutions involved and other complexities.  Within a smart object layer there is a copy of the original object. So how the smart object layer was created determines what the imbedded object is.  A smart object may be many thing. Could be a copy of a raw file, a copy of a layered file, contain a group of layers created from within the source document. There is a transform associated with smart object layers.  When you open a smart layer into Photoshop so you can edit the embedded smart object it opens at the resolution and size of the object which may be different then the document its  a layer in. The transform is only associated the layer not the object. Once open into Photoshop you can of course dupe the layers into the target document.  It may be a bit complex for some layers may have layer mask and perhaps other layers clipped to it or be within a group then there is the layers visibility state. If you have both the source document and target document open in Photoshop it is easy co copy a layer from the source document to the target document. If the source layer is a smart object the associated transform will also be copied to the target document however it easy re transform the smart object layer in the target document.  In the source document target the smart object layer the use menu Layers>Duplicate Layer... in the Duplicate Layer dialog in the destination section use the pull down menu to select the target document You can use the scriptlistener plugin to capture the action manager code to do that.
// =======================================================
var idDplc = charIDToTypeID( "Dplc" );
    var desc24 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var ref14 = new ActionReference();
        var idLyr = charIDToTypeID( "Lyr " );
        var idOrdn = charIDToTypeID( "Ordn" );
        var idTrgt = charIDToTypeID( "Trgt" );
        ref14.putEnumerated( idLyr, idOrdn, idTrgt );
    desc24.putReference( idnull, ref14 );
    var idT = charIDToTypeID( "T   " );
        var ref15 = new ActionReference();
        var idDcmn = charIDToTypeID( "Dcmn" );
        ref15.putName( idDcmn, "Untitled-2" ); <====================================== target document
    desc24.putReference( idT, ref15 );
    var idVrsn = charIDToTypeID( "Vrsn" );
    desc24.putInteger( idVrsn, 5 );
executeAction( idDplc, desc24, DialogModes.NO );

Similar Messages

  • How do i open my multiple smart objects in my psd in one illustrator vector file?

    HELLO
    I have created a psd.
    It contains multiple smart objects which when double clicked link you to illustrator.
    I would like to open all the vector images from this file in one illustrator file.
    Is this possible?

    I guess it might be (almost) possible with Scripting in principle but probably not practically.
    To elaborate:
    One could open all the Smart Objects with a Script and with BridgeTalk it should be possible to have Illustrator perform tasks on those.
    But one can not, as far as I know, directly access scale, rotation, skew of a placed Smart Object with a Script, so that information would have to be determined with work-arounds or (partially) neglected.
    If you need vector output why did you make the arrangement in Photoshop?

  • HT201302 when i connect my iphone with computer i don't see any folder in my computer so that i could open and copy my pictures .

    when i connect my iphone with computer i don't see any folder in my computer so that i could open and copy my pictures . how do  i fix this problem?? P.S i have been using iphone since 3 years and this is the first time i face this issue.
    This is my 3rd iphone 4S while this issue wasn't pressent when i bought it but yesterday while i was watching my pctures suddnly the pictures automatically showed an error! but the folder of iphone with the icon of camera was still there but today i can't see that folder moreover i have synced my phone using itunes on my computer and charged as well so that means its not the connectivity problem.
    Another thing i am facing right now is that i made photo stream on in my phone but couldnt find any of picture on my pc i installed icloud panl but still in photo stream there are 0 photos and it never happend in iphone 4 while i am using the same apple id and it shows that it have uploaded my images on i cloud how do i get that??? 
    please help me so i could have my images into my pc
    i am using windows 8 and phone is iphone 4S with IOS 6.0.1

    iCloud: Troubleshooting iCloud Contacts
    Yahoo won't sync with iCloud and isn't supposed to.

  • Problems launching Bridge from Photoshop and opening files as smart objects in Photoshop from Lightr

    I am running Photoshop CC (up to date as of today) and Lightroom 5.2.  I  am hitting 2 major problems.  In Photoshop if I select File/Browse in Bridge I get the following message
    "Could not complete the Browse in Bridge command because Photoshop was unable to find the JavaScript plug-in".
    However if I simply launch Bridge as an application it works ok (now I have reset the default application for all the appropriate file extentions to Photoshop CC rather than Photoshop in Bridge preferences) and opens the file in Camera Raw 8.2 in Photoshop when a Raw file is double clicked.
    The second problem is associated with opening raw files in Lightroom 5.2, editing and then trying to "photo/edit in/Open as smart object in Photoshop" .  In this case Photoshop opens with a blank screen and nothing happens  Eventually about a minute later this message appears in Lightroom 5.2
    "The file could not be edited because Adobe Photoshop CC could not be launched."
    Rather strange message as the first thing that happened was that Photoshop CC opened!!
    Same thing happens if try "photo/Edit in/Edit in Adobe Photoshop CC" except that having shut down photoshop I see a message from Lightroom 5.2 saying
    Lightoom was unable to prepare the selected file at ..... for editing.  It will not be opened.
    When I click the OK button on this message low and behold the tif version of the RAW file opens in Photoshop. ready for futher editing with all the Lightroom edits applied.
    Can anyone help me in sorting out this problem please
    Operating system is Windows 8 64 bit and I am running the 64 bit Adobe applications.

    Solved the problems by uninstalling Bridge and Photoshop then going into Creative Cloud App and re-installing both.

  • How to paste a Smart Object in a consistent and proportional size onto a Photo in Photoshop CC?

    I am a photographer and want my signature on every photo I print. I have created the text I want in Illustrator and have been dragging that text into Photoshop.When I do this I am asked if I want it to be a Smart Object or Pixels, Path or shape layer. I have been choosing it to be a smart object. When I try and place it on my photograph, the sizes that the text come into Photoshop per photo can vary. I would like all of my signatures to be proportionally the same size all across my print sizes. How do I accomplish this?
    Thanks!!

    I pasted the signature at 1.75" on my photo and printed it on 8.5"X11" paper, measured it's actual size once printed and it is 1 1/8" on the paper. Am I missing something in the sizing of the picture? How can I make it to come out the same size and consistent.

  • How can I open and copy files on the win side from the  mac side?

    I am working on the mac side and I need to be able to copy files from the mac side that I create over to the win side.  I can open and view win files when I am booted to Snow Leopard, but I cant copy files to the win side.  I think Macdrive does the opposite.
    Any ideas?
    thanks,
    C

    to write to Windows NTFS you need 3rd party.
    You have read only access to HFS from Windows.
    MacDrive8 works in Windows to add write to HFS as does Paragon. Paragon has what I have come to see as the best NTFS driver for OS X, and they have a separate HFS8 for Windows similar to MacDrive8.
    Maybe you want to run Windows as a client OS using Parallels instead?

  • HT2978 I have the IPod Classic.  In the past, whenever I connected the IPod to my computer, ITunes would open and copy any new music to my IPod.  It no longer does this.  How do i copy new playlists to my IPod?

    I have the IPod Classic.  In the past, whenever I connected the IPod to my computer, ITunes automatically added new playlists to my IPod.  It no longer does this.  How do I copy new "Playlists" to my IPod?

    Recover media from iPod
    See this post from forum regular Zevoneer for options on moving your iPod data back to your computer.
    tt2

  • How to save properly Smart Object?

    Hello!
    I've got a file where I have 2 groups of layers (SET1 SET2)  (the first one is duplicated and made -100% (minus 100%)  width - which effects with horrizontal mirror of the first one). SET1 have texts, and as you may guess the mirrored groups of layers (SET2) has texts mirrored which I need to make readible (revert them back). That's why I made text layers as Smart Object and when I open this object I can rotate text back, but saving the Smart Object and returning back to the project gives me proper text on SET2 but rotated again SET1. I guess the Smart Object's in both sets are somehow related to each other. Every time I change something in one make an impact on the second. I noticed that even I save my Smart Object with some new name, to the directory I created for the project, it doesn't seem project choose that one in the project directory, but one from TEMP folder in windows root system. I thought to name them separately and load them to loose that relativeness. But I try and I try I do not know how to do it, how to make them independent.
    Any ideas?
    Kindest Pawel
    //I had to use Smart Object as Layers are transformed with Perspecitve transform tool, and vector objects (like text) can not be perspective transformed...and I can not in fact rasterize those Smart Objects as the project is a template to edit by others. If I rasterize them anybody could not change text layers anymore...
    I am getting to be sure, that's immpossible:/

    omg, somehow I did it. It seems that 'New Smart Object by Copy' breaks that relativness, but I am not quite sure as I tried to did it before withou success. Anyway, I am on the track again:)
    Thanks for listening

  • Open as linked smart object

    Hello,
    iam looking for a solution to open files in a folder
    and copy then into a document.
    Its working good, but i need the files to be linked smart object.
    Anyone knows a solution ?
    Here my Code so far:
    See in line 33. Convert to smart object: ?
    var file = new File('C:/User_MY PATH.PSD'),
    docRef = open(file);
    // Use the path to the application and append the samples folder
    var samplesFolder = Folder('C:/USERS_MY FOLDER');
    //Get all the files in the folder
    var fileList = samplesFolder.getFiles()
      // open each file
      for (var i = 0; i < fileList.length; i++)
      // The fileList is folders and files so open only files
      if (fileList[i]instanceof File)
      open(fileList[i])
      // use the document name for the layer name in the merged document
      var activeDocName = app.activeDocument.name;
      var targetDocName = activeDocName.substring(0, activeDocName.lastIndexOf("."));
      // Copy the Document
      app.activeDocument.selection.selectAll()
      //convertToSmartObject(); THIS ISNT WORKING - CONVERT IT ?
      app.activeDocument.selection.copy()
      // don’t save anything we did
      app.activeDocument.close(SaveOptions.DONOTSAVECHANGES)
      //Select specific layer to paste the copy, this is to make sure the layers are in a specific position
      var doc = app.activeDocument;
      doc.activeLayer = doc.artLayers.getByName("bgr");
      //Paste Document
      app.activeDocument.paste()
      app.activeDocument.activeLayer.name = targetDocName

    Use scriptlistener:
    var idPlc = charIDToTypeID( "Plc " );
        var desc2 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
        desc2.putPath( idnull, new File( "C:\\Photos\\myPhoto.psd" ) );
        var idLnkd = charIDToTypeID( "Lnkd" );
        desc2.putBoolean( idLnkd, true );
        var idFTcs = charIDToTypeID( "FTcs" );
        var idQCSt = charIDToTypeID( "QCSt" );
        var idQcsa = charIDToTypeID( "Qcsa" );
        desc2.putEnumerated( idFTcs, idQCSt, idQcsa );
        var idOfst = charIDToTypeID( "Ofst" );
            var desc3 = new ActionDescriptor();
            var idHrzn = charIDToTypeID( "Hrzn" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc3.putUnitDouble( idHrzn, idPxl, 0.000000 );
            var idVrtc = charIDToTypeID( "Vrtc" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc3.putUnitDouble( idVrtc, idPxl, 0.000000 );
        var idOfst = charIDToTypeID( "Ofst" );
        desc2.putObject( idOfst, idOfst, desc3 );
    executeAction( idPlc, desc2, DialogModes.NO );

  • Opening a Photoshop smart object file in Illustrator looks horrible (antialiasing problem)

    Hello all,
    This problem is killing me and I really wish I had done this logo in Illustrator, but I didn't now I have to suffer. Help!
    I am doing a freeland job for a friend so I am not all that and a bag of chips with Illustrator. I am better at Photoshop but I need the vector, so I did my logo in photoshop and created a smart object out of it. I saved a version as a tiff and one as a jpg. My friend is creating his own leaflet in Word and the logo works beautifully there. I am creating a flyer for him in Illustrator and the logo is aliased in Photoshop but when I put it in Illustrator it looks antialiased and bad. He also has a little cheapy yahoo sitebuilder website until I create a website for him and the same logo(jpg) will not open in the yahoo site for him. I work and go to school so I don't have the time to recreated the logo in illustrator. It looks really good the way it is until I put it in Illustrator. Any ideas? please?
    Thanks to anyone that answers this question, and kudos for taking time out of your busy day to calm my angst( or add to it)please don't add to it...

    Hello Noel and c,
    I created the logo in photoshop
    ( to make vector in photoshop, I need the scalability, I made the logo a smart object)
    I then saved a copy as a jpg(for web) and a tif for print. I am creating a flyer in Illustrator, so I have to bring the logo into illustrator, when I do it looks like an aliasing problem. I had that aliasing problem in photoshop, but I still had text.... so I could antialias the text. In Illustrator the logo is just a tif, or jpg(I have tried both) It is not a text, but an image and it looks antialiased. In some programs the logo looks good, in some programs the logo looks bad.  The only layer I have in the good photoshop file that I saved  as a jpg, and as a tif is one layer that has text and the logo on it- this is a smart object. I have additional work files that have multiple layers, but I do not want multiple layers on my final print, web file. When I open up my laptop, I will save a screenshot.
    Thanks so much

  • How can we make smart objects smarter?

    Smart objects are great and can be a really useful time saver. That said, i'm having a problem and I'm hoping that there is a solution out there. I'll preface this with the statement that, I may not be using smart objects as they were intended, but I feel like this is how they should work:
    A basic example - say you have a "Login" button.
    It would be great/obvious to have that as a smart object. It would be greater still to have the on, off, rollover, clicked states to be within that smart object.
    Now, if you place that smart object as a linked object into a document, there is no way to say "in this instance, I want to show the off state of the button". If you open the smart object and change the state to that and save - then it will update all instances everywhere in all PSDs where it exists and all of your buttons are now in an off state.
    Now, clearly, in this example, the easy answer is just make 4 smart objects. Easy peasy.
    The problem with that is two fold:
    1. if "Login" changes to "Logon" I need to make that change in 4 places instead of just one.
    2. The button example is simple, but what if my smart object is more complicated than that? What if there a complex set of layers that make up that object? Making changes to multiple complex layer files kind of defeats the purpose of having smart objects no?
    You can embed the object and thus break the external link and change things to your heart's content without effecting other instances - but then what really is the value of creating the smart object then? You might as well just have a layer group that you drag from PSD to PSD.
    The way smart objects should work, IMHO, is that you should be able to toggle layers on and off per instance of the object, BUT any pixel modifications to a layer within, bubble up to all instances that are displaying that layer  (say - a colour change, or text change, etc).
    Thoughts?

    Hi,
    Check the below links.
    http://sharepoint.aspcode.net/view/635399286724222582123340/sso-between-2-host-named-sitecollections-with-different-subdomains
    http://blogs.msdn.com/b/russmax/archive/2013/10/31/guide-to-sharepoint-2013-host-name-site-collections.aspx
    http://blog.repsaj.nl/index.php/2014/07/sp2013-host-named-site-collections-adfs-claims-and-aam/
    Krishana Kumar http://www.mosstechnet-kk.com
    Please mark the replies and Proposed as answer if they help and solve your issue

  • How to replace a Smart object content with folder of JPGs

    Greetings!
    Sorry if that title is not clear. I have a cover design template (see example). The image is a transformed Smart Object. I want to streamline my workflow.
    Say I have a folder of jpgs, and need to replace the smart object of the template with the new cover jpg, then save for web as a JPG comp. Repeat.
    I already have a nice "scale layer to current canvas size" script from Michael L Hale. Which would be necessary in case the jpg is larger or smaller than the Smart object's content it will replace.
    Any thoughts if this could be done?
    Michael's resize script is here: http://forums.adobe.com/thread/1233856
    Thanks
    Maxi

    Remember in that other tread I wrote you would need to take aspect ratio into account if you don't want distortion. You do not want distortion placing in images.   You also do not want to place in all image in canvas size.  If your images vary in size you do not want to replace the contents of a smart object layer for the smart object associated transform to work correctly you need the replace the embedded object with an object with exactly the same size of the original embedded object.
    Also in that other thread I gave you code from one of my Photoshop Photo Collage Toolkit.  You seem to be creating a collage. You man want to look at my Photo Collage Toolkit.
    Templates are very easy to create for my Toolkit's scripts to work, You just need to follow four simple easy rules.
    The Four Rules:
    Size the photo collage templates for the print size you want - width, height and print DPI resolution.
    Photo collage templates must have a Photoshop background layer. The contents of this layer can be anything.
    Photo collage templates must have alpha channels named "Image 1", "Image 2", ... "Image n".
    Photo collage templates layers above the background layers must provide transparent areas to let the images that will be placed below them show through.
    So your template would be easy and look like this, Red rectangle outlines my scripts.
    You would then use one of the scripts like interactive popopulate select the template then hit create collage
    The script would the open the template copy it the go to full screen show you a cyan mask as to where the next image will be placed, And put you into an interactive select image dialog.
    Once you select the script will place in the image resize and position it the put you in an interactive transform so you can tweak the position and size. The Populated collage will remain open in Photoshop.
    Documentation and Examples

  • Find open and close smart quotes

    Dear scripter,
    Here I am trying find whether all the open double smart quotes(") are closed with close double smart quotes("). Here is my small work to find how many open and close quotes.
    myopenqu=app.activeDocument.search("^{", false, false, "^{");
    myclosequ=app.activeDocument.search("^}", false, false, "^}");
    myopenqulength = myopenqu.length;
    myclosequlength = myclosequ.length;
    if(myopenqulength!=myclosequlength)
    alert("Quotes not matched\n"+ myopenqulength +" Open quotes found\n" + myclosequlength +" Close quotes found")
    It works well, the script just alert if I have 25 open quotes and 23 close quotes
    Quotes not matched
    25 Open quotes found
    23 close quotes found
    Now I want to find the quote set where the 24,25th set close quotes are missing?
    Is there any way to find the misisng quotes
    Thanks in advance
    regards
    a r u l
    vpublish.net

    You'd have to look for unmatched quotes, in this case two cases of two open quotes without an intervening closed quote. This is difficult to script in CS2 because it doesn't have GREP natively and because of footnote problems. In CS3/4 it should be possible. But even then it will work only if you don't have quotes within quotes.
    Peter

  • Open raw as smart object using droplet

    Hello everyone,
    This is my first post so please be gentle
    Rather than a droplet opening a raw file in a regular layer, is it possible to open the raw file as a smart object so that the object can be edited in Camera Raw later on?
    Thanks for your time and festive wishes
    Paul

    Click on the Worksflow Options link at the bottom of the ACR window and then deselect Open in Photoshop as Smart Objects. Click OK then Click Done.

  • File opening as Placed smart object layer, instead of separate file

    how to open an image in photoshop cc like photoshop cs3?
    in cc it is automatically open as smart object on the other photo which is already open..i want to open 2nd image as a different window

    I don't believe there's an option to change whether dropping an image on another image places it as a new layer, no.  I think you'll need to get used to doing things a little differently than you have been.  I'm sorry to have to bear that news, but it only takes a week or two to build new habits.
    This behavior isn't too new, by the way.  I think the "drag to workspace to place file on top of open document" behavior changed back in Photoshop CS5, if memory serves.
    -Noel

Maybe you are looking for