How te move labeled objects to specific layers?

I made in InDesign a product catalogue with EasyCatalog, works fine, but EasyCatalog puts all the items (graphics, text frames, price box, ) on one layer.
Soon there will be translations on that document and so I want that all my graphics that are labeled "graphics" are placed on a new layer (called "graphics"), also all the text frames labeled "text" should be moved to a new layer with layer name "textUK"
Afterwords I would make a duplicate of layer "textUK".
I have to admit that I have completely NO experience or knowledge on scripting in InDesign or JavaScript, so I would be glad if someone could give me some help.
Thanks in advance!
Pascal Dobbelaere

I see this only works with a text frame.
Can I also move a graphic or grouped objects that are labaled to a specific layer?
What should i use instead of textFrames.item ?
Greetz, Pascal Dobbelaere

Similar Messages

  • Move labeled object by x, y coordinates

    There is a few script that move objects, but a job i’m doing can benefits if I can move all objects across multiple layers (visible or not) with a specific script label name using x, y value. A small dialog with list of labeled object an a x & y value would be awesome.
    As usual, I’m lost...
    Jean-Claude

    Hi Guys,
    find attached my second version. Any feedback is welcome
    // MoveNamedObjects.jsx  Version 01
    //© 07.03.15 / Kai Rübsamen, www.ruebiarts.de
    //DESCRIPTION:Move objects with a name by a specified value
    // vorbeugenderweise das Anzeigen von Dialogen aktivieren
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
    // prüfen, ob ein Dokument geöffnet ist
    if ( app.documents.length == 0 ) {
        alert ( "Open a document!" );
        exit();
    var curDoc = app.documents[0];
    // die aktuellen Masseinheiten speichern
    var curXUnits = curDoc.viewPreferences.horizontalMeasurementUnits;
    var curYUnits = curDoc.viewPreferences.verticalMeasurementUnits;
    var labelList = [ "Select" ];
    var allPItems = curDoc.allPageItems;
    for ( var i = 0; i < allPItems.length; i++ ) {
        var curItem = allPItems[i];
        if ( curItem.name != "" ) {
            var labelName = curItem.name;
            var okay = _checkList( labelName );
            if (okay == false) {
                labelList.push( labelName );
    // den Dialog aufrufen
    var res = get_input();
    if ( res != null ) {
        // die Masseinheiten in Points festlegen
        curDoc.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
        curDoc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
        for ( var i = 0; i < allPItems.length; i++ ) {
            var curItem = allPItems[i];
            if ( curItem.name == res.itemName ) {
                curItem.move( undefined, [res.hValue, res.vValue] );
    // die Masseinheiten zurücksetzen
    curDoc.viewPreferences.horizontalMeasurementUnits = curXUnits;
    curDoc.viewPreferences.verticalMeasurementUnits = curYUnits;
    // - - - - - - - -  FUNKTIONEN  - - - - - - - - - -
    // prüfen, ob der aktuelle Name schon in der Liste vorhanden ist
    function _checkList(x) {
        var okay = false;
        for ( var i = 0; i < labelList.length; i++ ) {
            // der Name des aktuellen Labels wird mit dem aus der aktuellen Liste verglichen
            if ( labelList[i] == x ) {
                okay = true;
                break;
        return okay;
    // Infos vom User sammeln
    function get_input() {
        // eventuell vorhandene Dialoge entfernen
        try {
            app.dialogs.everyItem().destroy();
        catch (e) {
        // den Dialog vorbereiten ...
        var dlg = app.dialogs.add({ name: "Move named objects" });
        var minWidthLeft = 70;
        var minWidthRight = 130;
        with (dlg) {
            with (dialogColumns.add()) {
                with (dialogRows.add()) {
                    staticTexts.add({ staticLabel: "Choose name and values" });
                with (borderPanels.add()) {
                    with (dialogColumns.add()) {
                        staticTexts.add({ staticLabel: "Name:", minWidth: minWidthLeft });
                    with (dialogColumns.add()) {
                        var d = dropdowns.add({ stringList: labelList, selectedIndex: 0, minWidth: minWidthRight });
                    } // col
                } // border
                with (borderPanels.add()) {
                    with (dialogColumns.add()) {
                        staticTexts.add({ staticLabel: "Horizontal:", minWidth: minWidthLeft });
                        staticTexts.add({ staticLabel: "Vertical:", minWidth: minWidthLeft });
                    with (dialogColumns.add()) {
                        var h = measurementEditboxes.add({ editValue: 0, smallNudge: 1, largeNudge: 1, editUnits: curXUnits, minWidth: minWidthRight });               
                        var v = measurementEditboxes.add({ editValue: 0, smallNudge: 1, largeNudge: 1, editUnits: curXUnits, minWidth: minWidthRight});
                    } // col
                } // border
            } // col
        } // dlg
        // den Dialog zeigen und auswerten
        if ( dlg.show() == false ) {
            dlg.destroy();
            return null;
        else {
            var o = new Object();
            if ( d.selectedIndex != 0 ) {
                o.itemName = d.stringList[ d.selectedIndex ];
            else {
                alert ( "STOP!\rYou must choose a name" );
                exit();
            o.hValue = h.editValue;
            o.vValue = v.editValue;
            return o;
            dlg.destroy();
    – Kai

  • How to move the objects from Infoarea to another?

    Hi,
    How to move the objects from Infoarea to another?
    Thanx in advance,
    Ravi.

    Hi ..
    If the drag & drop functionality is enabled you can drag the catalog and drop it in another InfoArea just as you do with files on your PC.
    The other procedure is Use the right mouse button to create an InfoObject catalog in the InfoArea. If you want to make a copy of an existing InfoObject catalog, specify a reference InfoObject catalog.
    and check this  thread
    Re: Info Object Mapping to Info Area

  • How to move database objects from one user to another user

    Could someone help how to move database objects from one user to another user
    Thanks in advance

    Thanks a lot for the reply.
    Actually I wanted to know whether there is any command to change the owner ship of the table.
    For ex table1 belongs to user1. can the owner of table1 to be changed to owner2.
    directly using an oracle command. I knew that it can be done using import and export, since the table was 200 million thought the rename command would be faster instead of import and export.
    Thanks Billy for letting me know that it is not possible using oracle query.

  • I need step by step instructions on how to move an object from one photo to another photo - in Photoshop CC 2014.

    How do you move an object in one photo to another photo in Photoshop CC 2014

    In the document with the object select the object  and use copy (Crtl|CMD+C) then in the other image document use  paste (Crtl|CMD+V).
    However its not a move its a copy the object is still in the original image.  (Crtl|CMD+X) instead of (Crtl|CMD+C) would cut the object out of the first image but leave a hole there that you would need to fill with a replacement to complete a move.

  • How to move a object

    for drawing i m using graffiti library
    http://nocircleno.com/apps_games.php
    now i want to move each object .
    like if user can darw two line
    and user want to change the position of line user can change the the line postion by drag and drop
    but i m not able to seleect the object.

    Actually this works fine depends on value of movement.
    >
    MoveRelativeILG(itemRef,0,-10);
    >
    This works fine when the story is horizontal.but
    >
    MoveRelativeILG(itemRef,-10,0);
    >
    This doesn't work.
    (Undo command executes automatically???)
    Next problem is how much a inline object can go up/down.
    I don't know how to get bounds data of a inline object.
    I will report if it succeeds.
    Thanks.
    -Satoru Fujimori

  • How to: Move an object with your finger

    Hi guys, please have a look at this link: http://www.youtube.com/watch?v=eg4u0aZEwvc&feature=g-upl&context=G2c94ba5AUAAAAAAAAAA
    At 0:49 seconds into the movie, the user is able to drag and drop objects, in this case thumb-nail images, and set them down in a different place on the app.
    Is this possible in DPS? If so, are there any tutorials available on how to do this, and where could I get my hands on those tutorials?
    Much appreciated

    Hi,
    big thanks for that. Unless Im doing something stupid when I did that it made a new copy of the object but did allow me to place that new instance elsewhere.
    Is there any way just to move an object and its path without making a new copy?
    All the best
    Arun

  • How to move an object with its animation path, without adding a new keyframe?

    Hi,
    If I create an object which has a keyframe animation, how can I change its location/scale without adding new keyframes? That is, I want to move the whole thing with all its animations & keyframes as a single entity.
    thanks
    Arun

    Hi,
    big thanks for that. Unless Im doing something stupid when I did that it made a new copy of the object but did allow me to place that new instance elsewhere.
    Is there any way just to move an object and its path without making a new copy?
    All the best
    Arun

  • Quick Help - How to move an object backward?

    I can't remember what it is called, but there is a way to move a layer (while in 3D mode) without changing the apparent scale of the layer. In other words move a object back without making it look smaller in frame. There is a way to do this, but I can't even look it up since I don't know what it is called. Anyone out there know how to do this?
    Thanks!

    In the HUD, command-drag on the first Move control. You'll see in the Inspector that scale is changing along with the Z-position value.
    A couple of caveats:
    1) The active viewport needs to be the Active Camera
    2) The comp size needs to match the size of your graphics
    3) If you first center the object's anchor point in the Canvas, it won't shift position.

  • How to move an object from one Transport Request to another TR

    Hi,
    I have created an object under one TR instead of Required TR.
    Now i need to move that object to apropriate TR.
    Please suggest me the way.
    Thanks,
    Sekhar.J

    Go to SE10 select the Request and press Include Objects button( a box with a arrow above it) and select freely selected objects and add your object to the request. Before doing this you may be required to delete the object entry from the source request.
    Regards
    Karthik D

  • How to move the objects of IR and ID to Production

    hi
    i have done a file to file scenario and i have  a doubt of how to move it to the prodn
    plz help me out
    (how to move the contents of SLD IR and ID to Production)

    Hi Jaya,
    This is very much possible, all that you have to do is, in the SLD, define transport targets. that is which Dev/ QA system corresponds to which production system.
    Please go through this help link and get to more on this...
    http://help.sap.com/saphelp_nw04/helpdata/en/93/a3a74046033913e10000000a155106/content.htm
    Also have a look at this option of transporting using File System...
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/content.htm
    Regards,
    Abhy Thomas

  • How to find invalid objects in specific schema?

    Please let me know hoe to find invalid objects in specific schema such as SYS?
    Please help and guide
    Thanks,
    Waheed.

    Ok i get invalid objects now if i want to delete these invalid objects which query i have to run?
    also let me know there is no harm if i del invalid objects from SYS schema?
    Please help and guide
    Thanks,
    Waheed.

  • How to move an object that is in many layers in to its own layer?

    Hello,
    I created a catalog where I have used layers but at that time didn't know that I will be creating another catalog of the same products for our wholesalers.  Anyway, now I have an object (QR Code) that is in many layers and I need to move it to its own layer where I can turn it on or off as needed. I have already created the layer but now I am not sure the quickest way to move the (QR code). I really need to learn how to use GREP in find and change, I sure it is possible with GREP but don't know the string to use.
    I would appreciate any kind of help I can get.
    Thanks,
    Omar

    Am I crazy, or is there a "Paste Remembers Layers" checkbox hidden somewhere in the preferences? Because when I have a bunch of objects that are all on separate layers, I simply Copy, Delete, and Paste in Place - and then they're all on one layer.
    I'm not crazy! It's in the options on the Layers panel. And it seems to be off by default.

  • How Select All Text Objects with Specific Contents and Move to Top-Center?

    Mavens,
    In a ~230 page InDesign CC Book (9 INDD files), on about ~35 pages, there is a small text block with the word "NOTES."
    Currently, the NOTES text block is in the Middle-Center of the page. I would like to find a way for InDesign to move all ~35 instances of the NOTES text block to the Top-Center (of the page each text block is on).
    Is there an easy way to do this with Edit --> Find/Change?
    Thanks!

    Probably not.
    That text block really belongs on a master page applied to those 35 pages, and if it is, all you have to do is move it on the master page. If it isn't, you've got some work to do. Probably easiest to fix one, then coy it and use Paste in Place on the other pages, and delete the frame that's in the wrong place.

  • How to move PI objects in IR and ID from DEV to QAS

    Hi experts,
             I am new to PI and with lot of research and help from you all experts I could successfully create a scenario from XML to CSV conversion. I created message interface, interface mapping objects etc.. in "Integration Repository" and conficguration scenario, sender and receiver communication channels etc. in "Integration directory". Everything is working fine in DEV and now I want to move all these to QAS. I went through some documents on SDN and it was talking about XI track and CTS and I am so new to all these, I am not sure how to get started. Could someone please let me know the procedure of moving PI objects from DEV to QAS?
    Thanks.
    --Mithun

    Not to Worry Mithun Da!
    There are two ways to transport  ID and IR Object to transport .
    1. CTS + : Totally automated Way .,
    2. .tpz  : Manual  Lagacy Import / Import way .
    Now . Steps .are :
    There are two types of transport mechanisms in XI/PI.
    1.      File Transport System.
    Files are imported and exported into SAP XI OS Level for Development and Quality Server,
    This Process is risky as there is no automated system and there is no track record of imported or Exported Files,
    as in this syetem exported files are transported to QA System from DEV System.
    file Extension in file transport System : - .tpz
    2.     Through CTMS(Change Transport Managment System).
    GUI Based tool, Installed on SAP XI BOX, This system provides the automated transport system , which keep tracks of transported Objects and Failed objects.
    There are initial level efforts to set up transport system.
    Transport Procedure for Various System :-
    DESIGN OBJECTS ---> (ENTERPRISE SERVICE REPSITORY OBJECTS) -
    > INTEGRATION BUILDER.
    Step -I
    1. Select NameSpace to trasport.
    2. Right Click on NameSpace to Transport.
    3. Select Export Option.
    4. Check or Select the Software Component Version.
    5. Check the Mode of transport.
    CTS MOde:-
    5.1     Select a required type of Object Set:
         IN OUR CASE: ALL OBJECT OF INDIVIDUAL NAMESPACE.
    5.2        Select Transort request.
    5.3      Finish the Process.
    TRANSPORT USING FILE SYSTEM:-
    5.1     Select a required type of Object Set:
         IN OUR CASE: ALL OBJECT OF INDIVIDUAL NAMESPACE.
    5.2      Finish the Process.
    Step II
    1. GO TO TOOLS OPTION IN MENU BAR
    2. OPEN CTS TRANSPORT ORGANIZER
    3. Select the request to Release.
    4. Press Button Release.
    Step III( Steps to be Perform at Target System).
    1. Execute Transection Code STMS.
    2. Check your Transport Request Number.
    3. Focus on that Trasport Request Number Through Mouse.
    4. Now Import The Transport Request on Specific client of Target System.
    5.Click Ok.
    FINAL :-  NOw on Quality Server all Transported Objects Need to be activated.
    CONFIGURATION OBJECTS ---> (INTEGRATION DIRECTORY) -
    > INTEGRATION BUILDER.
    Step -I
    1. Select Configuration Scenario to trasport.
    2. Right Click on Configuration Scenario to Transport.
    3. Select Export Option.
    4. Check or Select the Configuration Scenario.
    5. Check the Mode of transport.
    CTS MOde:-
    5.1     Select a required type of Object Set:
         IN OUR CASE: ALL OBJECT OF Selected Scenario.
    5.2        Select Transort request.
    5.3      Finish the Process.
    TRANSPORT USING FILE SYSTEM:-
    5.1     Select a required type of Object Set:
         IN OUR CASE: ALL OBJECT OF Selected Scenario.
    5.2      Finish the Process.
    Step II
    1. GO TO TOOLS OPTION IN MENU BAR
    2. OPEN CTS TRANSPORT ORGANIZER
    3. Select the request to Release.
    4. Press Button Release.
    Step III( Steps to be Perform at Target System).
    1. Execute Transection Code STMS.
    2. Check your Transport Request Number.
    3. Focus on that Trasport Request Number Through Mouse.
    4. Now Import The Transport Request on Specific client of Target System.
    5.Click Ok.
    FINAL :-  NOw on Quality Server all Transported Objects Need to be activated( CHANGE OBJECTS).

Maybe you are looking for

  • Problem with Left Click (mighty mouse) and flash content

    Hi, first sorry for my bad english... Well I have an issue with the left click (i have mighty mouse) and flash content in Firefox: if i'm using Firefox and then change to any other app, when i get back to firefox i have no left click anymore... So i

  • XY-Graph

    Can I change the   XY Graph     to  trans appearance ????  so I can see any thing which behind it.

  • Dynamic HTML over PeopleSoft?

    Our college Portal site uses a Flash animation to display rotating content relevant to the current semester. My latest project involves presenting users with a static image on the Portal home page if their browser does not have Flash installed. After

  • Mozilla Firefox plugin-container has stopped working properly

    Mozilla Firefox plugin-container has stopped working properly. FOR THE UMPTEENTH DAMN TIME... HOW DO I FIX THIS on Firefox 3.6.13!?!?!?!?!?!?!? ''edited by a moderator - https://support.mozilla.com/en-US/kb/Forum+and+chat+rules+and+guidelines ''

  • Multiple (no title) entries in Safari history

    I have noticed after visiting several websites using Safari on my New iPad when I veiw my history there are several entries that say (no title).  I have played around a little with clearing my history right before visiting the sites to make sure that