Selecting objects in a layer to copy and paste into a new doc?

How can I select all objects in a layer and copy and paste the objects into a new document? We are having issues with the copy and paste method. Is this because it uses the operating systems clipboard?

the sample I mentioned describes how to duplicate all selected objects in a document, using
var docSelected = app.activeDocument.selection;
it is usually not advice to use the selection for this kind of stuff, to work with ALL pageItems in a document use
var allPageItems = app.activeDocument.pageItems;
now if you only want to copy items in a layer you can use either the index number (for instance, top layer index = 0) or the name of the layer (for instance "Layer1"), use this, you don't have to select them
var topLayerPageItems = app.activeDocument.layers[0].pageItems;
or using the layer name
var Layer1PageItems = app.activeDocument.layers['Layer1"].pageItems;

Similar Messages

  • Can items from a list be copied and pasted into a new Pages Table?

    In iWork Pages, I have a list of 50's & 60's recording artists and their songs, (which is about 40 pages long) from my '45 rpm record collection for my Jukebox.
    Is there any way to copy and paste the artists' names, and their songs into a Pages Table, so that I can sort the artists' names into an alphabetical list?
    If there is a way, it would save me a ton of work of typing each name into a Table one at a time.
    Thank you,
    Jim

    Recently, I have had documents of lists that I had wanted to put into a Table afterwards, but there was no way that I could do it.... which brought me to my question to the Forum.....
    I had made the artists' listing & songs of about 40 pages, about 7 years ago when I had a PC, and it was done in MS Word, and I haven't worked on it since then. 
    Being a veritable Newbie at the time, I had put the artists' name in one column, and the song title in another.  When I had to insert a new artist and song, I would "Add Row Below" and then type the info in.
    Little did I realize at the time that I had created a Table, without knowing it (I told you that I was a Newbie).
    So when I started to work on those files this morning for the first time in a number of years, I wondered how could I put all the info from that Word document into a Table in Pages.
    Then I could sort Ascending, instead of "Add Row Below" to squeeze the new name in when I wanted to add another artist. 
    Then I realized after posting the question on this Forum, that it ALREADY WAS in Table form. 
    I looked into the help section of Pages and found that I could sort the names in the Inspector Box in the Table Tab.
    So, sorry to say I didn't discover a new technique of copying a list and then pasting the info into a new Table in one shot......
    Sincerely sorry for the false alarm...
    Jim

  • I am copying and pasting into a new, Pages document (from the word processing menu), and I paste in text that is longer than one page, it doesn't continue onto the next page.  I can't see the end. How do I get it to show everything I paste in?

    I want to copy an extensive amount of text from a web page into a Pages word processing document, but it seems to chop it up into text boxes, some of which aren't long enough to show all of the lines of text.  I can't get hold of a bottom edge of the boxes to drag them to make them longer.  I tried several times starting over with a new, blank page (and I made sure to choose from the Word Processing part of the dropdown menu, since I read about a similar problem that said not to use the layout menu.  It keeps doing the same thing.  What do I have to do to get long text pasted to multiple pages, instead of it trying to be all on one page?
      In the long run, what I want is to create this as an ePub book.  Is there a better way to go about this?

    Hi Ellen,
    Copying from web pages can include some weird formatting. Instead of Paste, use Paste and Match Style (Edit Menu).
    Regards,
    Ian.

  • Copying and pasting into a new size "canvas" in Aperture

    Hi, I'm just trying out Aperture for the first time, and have a photo of 4 separate images. I'd like to end up with just 2 of them, together in the same file. Of course in Photoshop I'd copy & paste, increase the canvas size, or use crop, and voila. I'm quite puzzled as to how I could do this in Aperture, although maybe this is more a program like Lightroom and can't do this kind of thing.

    This is not a feature of Aperture - nor Lightroom, if I recall correctly - both of which are apps for managing and post processing. That's a job for an editor like Photoshop.
    Regards
    TD

  • With PS 7  create new  Place two objects on the new file  then you may cut copy and paste Cs2  create new  place two object on the new file Cut is not available how does one cut and paste in new file

    With PS 7
    create new
    Place two objects on the new file
    then you may cut copy and paste
    Cs2
    create new
    place two object on the new file
    Cut is not available how does one cut and paste in new file

    If your using File>Place then photoshop cs2 creates what's known as Smart Objects, which photoshop 7 didn't have.
    In photoshop cs2 you can rasterize the smart objects and that should make the Cut function available.
    Select both placed layers, right click on the area to the right of the tumbnail and select Rasterize Layers.
    If in photoshop cs2 you to Help>Photoshop Help and look under Layers>Smart Objects, that should give you a good overview of what smart objects are.

  • Can the forms created in Forms Central be copied and pasted into Muse?

    Can the forms created in Forms Central be copied and pasted into Muse?

    Hi,
    The form that you create via FormsCentral can be embedded in your Muse site (in Muse you can select Object/Insert HTML and then paste the embed code that you get via FormsCentral by clicking "Distribute" Tab / Embed button.)
    See http://forums.adobe.com/message/5252743#5252743 on how to get the embed code via FormsCentral.
    See https://my.adobeconnect.com/p73yae8df5r/?launcher=false&fcsContent=true&pbMode=normal on how to paste it on Muse.
    Thanks,
    Lucia

  • Copy and paste into dialog boxes

    Copy and paste into dialog boxes
    Greetings:
    This is a cross post, so sorry about that, but I had originally replied to a previous post,
    before I realized it was probably the wrong forum
    for my question.
    Copying from a document to a dialog box field doesn't work anymore; How do I fix it?
    We have the problem since upgrading to Tiger.
    Our Mac users, during their workflow, paste a filename
    from a document into the 'save as' field (when printing to a .ps file).
    This no longer works. UNLESS they control click in the 'save as' field.
    Then they can select 'paste' with the mouse. Why is this happening? and how can we fix it? (so they can just 'command C' then 'command V' as they used to).
    We have repaired permissions, cleared user caches,
    tossed finder prefs, logged in as another user,
    all to no avail.
    Thanks in advance!
    z

    Matt,
    Thanks for your response.
    I agree that something else is capturing the shortcut, as
    all shortcuts are unavailable in the pulldown menus at that point where we used to be able to 'Command V' paste into the text field. We're not using Quick Keys, and the
    Full keyboard access setings are default for OS 10.4.
    I did experiement with turning of some of the modifier F key selections in the Keyboard system prefs but none made
    any change for this issue. For now our work around will be to control click in the text field and select 'paste'.
    Seems odd that the contextual menu is available for that field but a 'command V' or command control V doesn't work.
    Not a huge deal, more of an irritant, but I'll keep on the hunt! Thanks again!

  • COPY AND PASTE INTO WIN7 DIALOG BOX

    Hi,
    I am new to Win7 and Lenovo Technologies.  I am not sure if this post belongs here or if my problem has to do with Lenovo password management, which I have not yet set up on my new ThinkPad W700. 
    I am unable to copy information from a text file and paste it into a Win 7 dialog box.  I am in a process of loading software from my old machine into the new one.  I have all relevant information on keys, etc., in text files within my installed software archive.  Manual retyping is a pain!  The copy and paste function works just fine outside of the dialogue boxes. 
    Can someone advise me what I need to do in order to allow the pasting of information into the dialogue boxes possible?
    Solved!
    Go to Solution.

    SUPPLEMENT TO MY PREVIOUS POST
    The copy and paste into dialog boxes works just fine.  I suspect that my earlier problem was due to not being familiar with the new computer's keyboard.  I am used to the CTRL key being located at the bottom left of the keyboard.  The new keyboard has the Fn key in that position.  I must have pressed Fn instead of CTRL.  The old habits die hard.  I feel like for not noticing this earlier.

  • Why do colors come over as Color Book swatches when I copy and paste to a new document?

    Why do colors come over as Color Book swatches when I copy and paste to a new document? Original document has CMYK spot color swatches. I copy them and paste them in new document and it gets converted to a Color Book swatch. Why?

    Check the spot color options of that document.
    It's in the swatches panel's menu.

  • Keywords not transferring with pictures on copy and paste to a new computer. In lightroom on old computer but not in lightroom on new computer? Not all pictures, but a lot of the new ones.

    Keywords not transferring with pictures on copy and paste to a new computer. The keywords are in lightroom on old computer but not in lightroom on new computer? Not all pictures, but a lot of the new ones.

    I actually found under  EDIT then Catalog settings / then metadata that the automatic write changes to XMP had been unchecked. Once I check this, it updated and connected all the keywords to the pictures. Now when I copy and paste the keywords show up as I can now detect them in Adobe bridge when before I couldn't see them even though they were in lightroom. . Thanks for your input.

  • Why do objects get bigger when I copy and paste from one Keynote document to another?

    I have 2 keynote presentation files open. I select some objects on one slide, apple-C to copy, go over to a blank slide in another file, and apple-V to paste. The item(s) get pasted but are much bigger - they take up way more of the new slide than they did for the old one.  What am I missing? Why can't I copy it with the same relative size it used to have?

    Chances are that small file used to be a PowerPoint file - PowerPoint deals in inches instead of pixels (which blows my mind).
    I would first convert the smaller file to a larger resolution - that should keep most of the scaling intact - and then copy and paste. In my opinion you'll probably have to re-polish your presentation once you've changed the resolution as some things will probably be a bit wonky.

  • How to copy and paste into the same picture using quick selection tool

    I have Photoshop CS5 and am new at this.  What I need to do is copy and paste something in the image back into the same image.  I can select it with the quick selection tool.  All I want to do is paste a copy of it back into my image, move it and rotate it a little. 
    I've searched for an answer for a couple of days now and evidently, I'm searching for the wrong thing.  This is what I need to do and I don't know how to get there.  I do this in Digital Image Suite all the time and it's very simple.  I know Photoshop is a lot more complicated but you can do more with it so I am trying to switch by using it to work on my projects.  I've read articles where people say to use the quick selection tool and do a copy and paste but for me, all it does is add blank layer and the selection disappears.  If I paste again, it pastes the item in the middle of the image and I can't move it or change it in any way.
    One more question:  in the Filters menu, all of the filters are gray-shaded.  I read that I have to buy these filters, is that true?
    Thank you for your help.  If there is a beginner's forum where you would rather I post my questions, please let me know.

    Once you have a selection, I use Ctrl C to copy and Ctrl V to paste.  This will add a layer but may not look like it as it is in exactly the same spot in picture.  If you paste again it will show up near middle of picture.
    If you want to resize and rotate use Ctrl T.
    More options are in Edit/Transform.  I particularly like Warp.
    All the filters should be active, but many only work in 8 bit RGB mode.  To see what mode they are in click Image/Mode.

  • I cannot copy and paste to a new layer in PSCC

    I am trying to use the magnetic lasso tool to outline my product and move that product to it's own layer so I can create a banner.
    The lasso will not turn off, I have made sure it met the beginning of the outline, and I have clicked enter. I was instructed to copy the product and paste it and it will show up as a new layer. I am concerned that I have something set or not set that would cause the tools to stick, and that I am missing a step between copy and paste.
    Can someone please help me or direct me to a tutorial that will cover these subjects? I have been trying to figure it out on my own for two days.
    Thanks,

    I actually found under  EDIT then Catalog settings / then metadata that the automatic write changes to XMP had been unchecked. Once I check this, it updated and connected all the keywords to the pictures. Now when I copy and paste the keywords show up as I can now detect them in Adobe bridge when before I couldn't see them even though they were in lightroom. . Thanks for your input.

  • Copy and paste armature in new .fla? (CS4)

    I've got a rather elaborate bones armature built in one .fla file and I'd like to copy and paste it into another .fla.  But I'll be snookered if I can find any way to copy the setup.  Is this something that can be done at all??
    Many thanks.
    Bruce

    What I did when I was trying to copy and paste a pose from a frame in an armature and paste it to another frame in the same document was:
    Make sure the armature layer is NOT selected.
    Left click on the pose frame you want to copy (if layer is selected "copy pose" will be grayed out) and click "Copy Pose".
    This will copy the pose in the frame, but also select the layer.
    Click OFF the armature layer so it is NOT selected.
    Left click on the frame in the armature you want to paste pose to and click "Paste Pose".
    I know you asked to paste in another document, but maybe if you play around with this process you can figure out how to do what you need.

  • [JS] [CS5] Copy and paste into existing array

    Hi Guys,
    right now I'm trying to improve the performance of a Script I wrote by copying and pasting a PDF instead of loading it 10 times.
    And here's the problem:
    When pasting the copied PDF it doesn't paste it into the array the original PDF is in but this is exactly what I need for the further script.
    Can I somehow paste the PDF into the Array and a specific position [i]?
    I'm adding the important parts of the script.
    Greetings Michael
    var myDocument = app.activeDocument;
    var myPage = myDocument.pages.item(0);
    var myPageHeight = myDocument.documentPreferences.pageHeight;
    var myPageWidth = myDocument.documentPreferences.pageWidth;
    myVertical=new Array();
    var myVerticalCount=0;
    var myStrokeHeight = myVertical[0].geometricBounds[2]-myVertical[0].geometricBounds[0];
    var myStrokeWidth = myVertical[0].geometricBounds[3]-myVertical[0].geometricBounds[1];
    for(i = 0; (myPageWidth-(i*myStrokeWidth))/(i+1) > (myStrokeWidth/3);i++){
                            myHorizontalCount++;
    myVertical[0] = myPage.rectangles.add({geometricBounds:[myPageHeight/2,0,myPageHeight +3,3]});
    myVertical[0].place (File(myFile_Vert));
    myVertical[0].strokeWeight = 0;
    myVertical[0].fit (FitOptions.FRAME_TO_CONTENT);
    app.select (null);
                        //It should be pasted into the Array myVertical[i]
                        app.select (myVertical[0]);
                        app.copy ();
                        for(i=1;i<myVerticalCount;i++)
                                app.paste();               //into myVertical[i] somehow

    Doesn't anyone know how to do this?
    If not, is it possible to:
                   1. select multiple grapics in a defined area at once?
                   or
                   2. paste a graphic and add this graphic to a selection without deselecting the items I've selected before?
    thanks in advance
    Michael

Maybe you are looking for

  • Premier Project crashing

    I am working on a project in Premier Pro CS4 that keeps shutting down on me. Before it started shutting down completely, it would open but wouldn't allow me to play preview files. And whenever I would attempt to render, the audio wouldn't come out. T

  • An error in IDoc when i am posting in MIGO (goods movement)

    Could not determine recipients for message type ACPJMM Hi all, when i am posting MIGO (with CIN) following error comes. Message no. B1003 Diagnosis An IDoc of message type ACPJMM was passed to the ALE layer, but the three receiver fields in the heade

  • I've Just Replaced My Macbook Battery And The Turning Screw You Twist With A Penny Has Came Of What Do I Do

    I've Just Replaced My Macbook Battery And The Turning Screw You Twist With A Penny Has Came Of What Do I Do

  • DVD STUDIO Build LAGTIME

    Just wondering why it takes sooo long to encode assets on the start process in DVD studio Pro 3.0 when a program like DVD Arcitect takes only 15-20min on my HP workstation. I'm using the new Macbook Pro 2GHz,1GB ram. Using QT Mpa & mpv file (1.26GB M

  • Can RAM "die"?

    Hi- About 6-8 months ago I bought a 1GB RAM chip to max out my G4 iBook to 1.5, and it worked flawlessly. No problems. Recently I noticed some strange performance issues, so I checked the Apple System Profiler, and was surprised that now only the on-