How to change group indices

I am writing a script (in VB) to fill out a catalogue page (or several pages). The page is filled with blank catalogue entries, each of which is a group of text frames and image frames. One field is manually typed in and the rest is autofilled form an XML file. After the data is filled in, the groups need shuffling down to fit on the page and where there is no space, they get moved to the next page. I rely on the user ordering the groups such that when the code iterates throguh the groups by index, the groups are worked through from the top of the page to the bottom. This works fine until I move a group to the next page. Moving a group means it gets added to the end of the list of groups. My question: is there a way to change the order of the groups (as they appear in the layers panel)?
This problem would also arise if the user wanted to insert a new item into a already populated indesign file.
Thanks
Steve

Hi Steve,
Arranging Page Items
Page items in an InDesign layout can be arranged in front of or behind each other by adjusting their stacking order within a layer, or can be placed on different layers. The following script fragment shows how to bring objects to the front or back of their layer, and how to control the stacking order of objects relative to each other.
//Given a rectangle "myRectangle" and an oval "myOval",
//where "myOval" is in front of "myRectangle", bring
//the rectangle to the front...
myRectangle.bringToFront();
When you create a page item, you can specify its layer, but you can also move a page item from one layer
to another. The item layeritemLayerItemLayer property of the page item is the key to doing this, as shown
in the following script fragment (for the complete script, refer to ItemLayer).
//Given a rectangle "myRectangle" and a layer "myLayer",
//send the rectangle to the layer...
myRectangle.itemLayer = app.Documents.item(0).layers.item("myLayer");
The stacking order of layers in a document can also be changed using the move move method of the layer
itself, as shown in the following script fragment (for the complete script, refer to MoveLayer).
//Given a layer "myLayer", move the layer behind
//the default layer (the lowest layer in the document
//is layers.item(-1).
myLayer.move(LocationOptionsafter, app.documents.item(0).layers.item(-1));
Thanks
-Anshul

Similar Messages

  • Transaction code to change group indicator & group number of a routine

    Transaction code to change group indicator & group number of a routine

    Post Author: paul.carpenter
    CA Forum: Formula
    Sorry for the ignorance.  I did a little more playing, created a group summary count, then checked it against my record count per group.
    All set now!

  • How to change group colors

    How to change group color in ical

    To change group colors:
    highlight 'desired' group,
    under <Edit>, choose <Get Info>,
    this should give you a smaller window:
              'desired' Info
              Name: desired                    Box with color choices
                                                       (dropdown colors; 'other' accesses other color palettes)
              Description: (can be added)
              Box ' Ignore alarms'
              'Publish...'                    'Cancel'                    'OK'
       4. make color choice,
       5. choose <OK> to complete color change, or <Cancel> original color remains.
    I do hope I've gotten this correct.

  • How to change Group membership

    As number of VM servers we are using grows we would like to organize them into groups to simplify management (e.g. business critical, internal, test, ...).
    We are aware we can change group name (membership) using "Deploy" option. This however requires to shutdown VM, re-deploy (copy) and remove the old one.
    Is there more feasible option?
    Do I need to use Oracle Grid Control for this ?
    Thanks
    Honza

    Honza wrote:
    Is there more feasible option? Not at the moment, no.
    Do I need to use Oracle Grid Control for this ?Grid Control's VM Management Pack actually doesn't have the same group functionality that Oracle VM Manager does. If you do want to split your VMs into groups, you will have to stick to using Oracle VM Manager.

  • How to change Group Asset for one Asset

    Hi,
    Please how can i change a Group Asset for one Asset ?
    i try with Tcode AS02 but i find "Act determination" in grey.
    i hope ur help
    Regards
    Edited by: jehade el aoumari on Jan 22, 2008 11:38 AM
    Edited by: jehade el aoumari on Jan 22, 2008 12:35 PM

    HI,
    In the Depreciation tab, double click on the the Depreciation area, where you want to change the Group Asset. because Group asset is specific to the Depreciation area.
    You will see the Group Asset field.
    If you still do not see the Group Asset field, then you have to change the Screen Layout in the Customisation for the Depreciation area in T-Code AO21.
    Hope this helps you.
    Thanks
    Siva

  • How to change Group-name of custom step-type?

    Hello,
    i´m using TS4.1 and miss a input-parameter which was avaiulable in TS3.5.
    I have some labview-vis which should be TS-teststeps and they all shoul be placed in a group.
    Do do this i open the "Types" and select one of my created types. The i rightclick the step and select properties.
    In the tab "Menu" i can set a name for the step BUT the parameter to set the Group is no more available?
    This was also in the Tab Menu in TS 3.5 but now in TS4.1 there is only Item-name.
    Where can i set the Group-name od my steps?
    Thx
    Message Edited by OnlyOne on 06-10-2008 08:14 AM

    Hi!
    Now you can go in the Insertion Palette in TS 4.1 (the Step Palette on the left side) and right click on Customize... (see attachement)
    There you have the menu where you can change the group for all steps in the palette.
    So now you have the possibility to change, create and move groups inside your palette.
    Best regards
    Ken
    Attachments:
    Customize.jpg ‏85 KB

  • How to change Group Header Font in Crystal report Left Most Group Tree?

    Hi Dears!
    I am using crystal report 10 with C# 2005. I have an issue that i want to change the font of Group Header Text that is visible when we click on Toggle Group Tree button and a tree pane is visible towards the left side of report viewer.Means all the Group Tree Items that are visible when we click  Toggle Group Tree button on Crystal report Viewer.
    I have goggled a lot but unable to find any hint. Any idea or help would be highly appreciated .
    Thanks in advance.

    look for information on drilldowngrouplevel function. this is available in versions 9 and higher.
    i cant test it in mine to give you the syntax, but you would need to create another section and conditionally surpress the section on the drilldowngrouplevel function. hope this helps

  • How to change group order?

    Hello.
    I created three groups in my query.
    There are links from
    G_1 to
    G_2 to
    G_3
    Is there a way to sort (link) these groups as:
    G_3 to
    G_2 to
    G_1
    Thanks.

    Hi,
    Remove the old links and create according to your requirement.
    Regards,
    Sailaja

  • Change group of user in solaris

    i have a doubt as to how to change group of a user in solaris. I want to change the group of the user. Please, do the needful.
    regards

    For Oracle specific questions you can try Database forum, for OS specific ones I already addressed you Create user in solaris, and Sun has its own site as well (http://www.sun.com).

  • How to change font type of front panel indicator

    Hello,
    I want to change numeric indicator font type to LED style. I've got the font. But, how can I change the font type of Indicator independently, i.e. not by changing application font type. I've checked the Property Node available are only color, size, justification, but type.
    Yoppy.
    Solved!
    Go to Solution.

    Go
    LED >Mouse right-click> Create >>> Property Node >>> Label >>> Font >>> Name
    then (or)
    Numeric >Mouse right-click> Create >>> Property Node >>> Numeric Text >>> Font >>> Name
    Regards.

  • I want to know how to change it so when i open a folder full of bookmarks it uses the current bookmark as the first of the group again.

    Before updating from version 7 to 8 when i went into my bookmarks, and right clicked on a folder and clicked "Open All In Tabs" it would use the current bookmark that i had open as the first of these in the folder. It would then open the folder's bookmarks to the right of that current bookmark.
    I can accept that it no longer opens the group to the right of the current tab easily enough. What annoys me is that it no longer uses the current tab to open the bookmarks. I would like to know how to change this option.

    browser.tabs.loadFolderAndReplace
    :browser.link.open_newwindow
    :browser.search.openintab
    references:
    * http://kb.mozillazine.org/Browser.tabs.loadFolderAndReplace
    * http://kb.mozillazine.org/About:config_entries
    * http://dmcritchie.mvps.org/firefox/tabs_config.htm
    *http://www.x2b4.com/howto/how-to-open-everything-url-search-bookmarks-in-a-new-tab-with-firefox-3/

  • I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.h

    I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.how to do that in xml file ?

    Thanks john for you are reply.
    I had tried what you sad.I open shared service in that foundation project i had export shared service.after that in import-export file.In that role.csv,user.csv,group.csv.Like this file have.When i open user file added some users after i trying save in excel it shown messgse
    I click yes and save the .csv file and import from share servie. i got error like this
    am i doing right way john.or explain clearly

  • How to change FM group?

    how can i change FM grp if i assigned FM some FM grp and i want to change it now

    hi karan,
    Go to SE37.
    provide Fm name .
    go to GOTO menu->Function Group-> Change Group
    Give another group name.
    save and activate it.
    <b><i>Reward points if useful</i></b>
    Chandra

  • How to change Redo group from archive to noarchive

    Hi guys i am having a dummy database it's in noarchive mode.
    but i have added one more redo group (earlier there were two).
    now it shows that this group is in archive mode.
    how to change it.

    What is the query you use?Can I guess ?
    SYS@db11 > select GROUP#, STATUS, ARCHIVED from v$log;
        GROUP# STATUS           ARC
             1 INACTIVE         NO
             2 INACTIVE         NO
             3 CURRENT          NO
    SYS@db11 > alter database add logfile group 4
      2  '/home/oracle/base/oradata/db11/redo04.log' size 5M;
    Database altered.
    SYS@db11 > select GROUP#, STATUS, ARCHIVED from v$log;
        GROUP# STATUS           ARC
             1 INACTIVE         NO
             2 INACTIVE         NO
             3 CURRENT          NO
             4 UNUSED           YES
    SYS@db11 > alter system switch logfile;
    System altered.
    SYS@db11 > /
    System altered.
    SYS@db11 > select GROUP#, STATUS, ARCHIVED from v$log;
        GROUP# STATUS           ARC
             1 CURRENT          NO
             2 INACTIVE         NO
             3 ACTIVE           NO
             4 ACTIVE           NO
    SYS@db11 >

  • How to change Syntax group and physical path in SARA from unix to windows.

    Our customer migrate current current archiving server from Unix to windows
    How to change Syntax group and physical path in SARA from unix to windows.

    http://help.sap.com/saphelp_nw70/helpdata/EN/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm
    you have to change
    Logical Path Names
    Logical file  Names
    Note 35992 - File name/directory for application archiving
    hope this will help you
    cheers
    dEE

Maybe you are looking for

  • My built-in speaker no longer works on iPhone 4

    it is less than a month old and i have an Otter cover for it. When i took the cover off after this happened a few days ago the sound came back through the speaker. Now it no loger works whether the cover is on or off.

  • How do I back up music on my time capsule?

    How do I back up music on my time capsule? I want to remove it from my computer because I have too much music to store on the computer. I want to access the music to put on other devices too. What is the best way to do that? I just set up my airport

  • Satelite and Linksys

    I see in the FAQ that Linksys routers do not work with satelite connections, yet I see questions with answers on the forum regarding satelite connections indicating it IS possible...so wanted to double-check before I made a purchase. I have HughesNet

  • Poor screen resolution after installing Leopard

    After I installed OS X 10.5 Leopard the screen display is very choppy with both images and text. Everything looked fine with Tiger until I installed Leopard. Has anyone else had this problem. I have tried resetting displays, etc in system preferences

  • Top sql elasped time, how true is that

    hi guys, i am viewing an addm report and is concern about a top sql activity. i have an sql having top elasped time. <i> 2,372      2,275      128,690,535      0.00      4.28      fphtjnquzzpud      [email protected] (TNS V1-V3)      SELECT USER_ID F