CS3 JS Add group into frame

Hi
In InDesign UI you can copy a group of frames and paste it into another frame.
I'm trying to replicate the results via JS
I tried this:
x = app.activeDocument.rectangles.add();
y = app.activeDocument.ovals.add();
z = app.activeDocument.ovals.add();
x.groups.add([y,z]);
then this:
x = app.activeDocument.rectangles.add();
x.groups.add([app.activeDocument.ovals.add(),app.activeDocument.ovals.add()]);
Both attempts ended up with "Invalid parameter" error message
Then I tried this:
x = app.activeDocument.rectangles.add();
y = app.activeDocument.ovals.add();
z = app.activeDocument.ovals.add();
g = app.activeDocument.groups.add([y,z]);
g.select();
app.cut();
x.select();
app.pasteInto();
It did the job without errors, but I'm affraid it will be unnecessary slow in real world deployment.
Please, can anyone explain what I did wrong with my first two attempts?
Thanks for help
Weller

Hi
Having carried out more experiments I made this discovery:
(assuming that "myObject is a rectangle")
after running:
myObject.rectangles.add();
myObject.rectangles.add();
myObject.rectangles.add();
I ended up with a couple of rectangles inside of the "myObject" frame.
But they were not grouped.
Though this partly solves my problem, I'm aware that Indesign won't allow me to do this in UI. (That is, it's only a single object or a group that can be "pasted into"). Am I really in for a big problem if I use this method?

Similar Messages

  • Not able to add user into Dataset Group  for RACF

    Hi,
    I am trying to add a RACF user to a dataset.I am getting following error message in log file. Pls. help
    2011-05-27 03:15:04,740 ERROR (http-0.0.0.0-8080-7) [XELLERATE.APIS] Class/Method: tcFormInstanceOperationsBean/addProcessFormChildData encounter some problems: maoErrors:Cannot schedule a task for child table change, schedule item save failed
    2011-05-27 03:15:04,740 ERROR (http-0.0.0.0-8080-7) [XELLERATE.APIS] Class/Method: tcFormInstanceOperationsBean/addProcessFormChildData encounter some problems: Error occurred while validating password policy '
    2011-05-27 03:15:04,740 ERROR (http-0.0.0.0-8080-7) [XELLERATE.APIS] Class/Method: tcFormInstanceOperationsBean/addProcessFormChildData encounter some problems: Cannot schedule a task for child table change, schedule item save failed
    Thor.API.Exceptions.tcAPIException: Cannot schedule a task for child table change, schedule item save failed
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addProcessFormChildData(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addProcessFormChildData(Unknown Source)
         at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.addProcessFormChildData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
         at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
         at $Proxy758.addProcessFormChildData(Unknown Source)
         at Thor.API.Operations.tcFormInstanceOperationsClient.addProcessFormChildData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy804.addProcessFormChildData(Unknown Source)
         at com.thortech.xl.webclient.actions.UserDefinedFormAction.addChildFormData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
         at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
         at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
         at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
         at java.lang.Thread.run(Thread.java:619)
    2011-05-27 03:15:04,740 DEBUG (http-0.0.0.0-8080-7) [XELLERATE.SERVER] Class/Method: tcDataBase/eventPreInsert entered.
    2011-05-27 03:15:04,740 DEBUG (http-0.0.0.0-8080-7) [XELLERATE.SERVER] Class/Method: tcDataBase/tcDataBase left.
    2011-05-27 03:15:04,740 DEBUG (http-0.0.0.0-8080-7) [XELLERATE.SERVER] Class/Method: tcDataBase/eventPreInsert entered.
    2011-05-27 03:15:04,740 DEBUG (http-0.0.0.0-8080-7) [XELLERATE.SERVER] Class/Method: tcDataBase/tcDataBase left.
    2011-05-27 03:15:04,740 ERROR (http-0.0.0.0-8080-7) [XELLERATE.WEBAPP] Class/Method: UserDefinedFormAction/addChildFormData encounter some problems: Cannot schedule a task for child table change, schedule item save failed
    Thor.API.Exceptions.tcAPIException: Cannot schedule a task for child table change, schedule item save failed
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addProcessFormChildData(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addProcessFormChildData(Unknown Source)
         at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.addProcessFormChildData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)     
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    Edited by: JRS on May 27, 2011 2:19 AM

    Follow:
    OIM: Getting an error when trying to add entry into child table
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=1066123&tstart=1365

  • How to add data into a List box

    CS3 SDk:Windows<br /><br />Hi all,<br />I am trying to add  data into a basic List box in CS3??<br /><br />// .fr<br />GenericPanelWidget<br />     (<br />     // CControlView properties<br />     kInvalidWidgetID, // widget ID<br />     kPMRsrcID_None, // PMRsrc ID<br />     kBindNone, // frame binding<br />     Frame(0,0,250,90) // left, top, right, bottom<br />     kTrue, // visible<br />     kTrue, // enabled<br />     // GroupPanelAttributes properties<br />     "", // header widget ID<br />     { <br />     <br />     WidgetListBoxWidgetN<br />     (<br />     kWFPListBoxWidgetID, kSysListBoxPMRsrcId, // WidgetId,RsrcId<br />     kBindAll, // Frame binding<br />     Frame(0,0,250,90) // Frame<br />     kTrue, kTrue, // Visible, Enabled<br />     1,0, // List dimensions<br />     19, // Cell height<br />     1, // Border width<br />     kFalse,kTrue, // Has scroll bar (h,v)<br />     kTrue, // Multiselection<br />     kTrue, // List items can be reordered<br />     kTrue, // Draggable to new/delete buttons<br />     kFalse, // Drag/Dropable to other windows<br />     kTrue, // An item always has to be selected<br />     kFalse,// Don't notify on reselect<br />     kFalse, <br />     {               <br />     }     <br />                    <br />),<br />},<br />),<br /><br />//-------ID.h--------<br />DECLARE_PMID(kWidgetIDSpace, kWFPListBoxWidgetID, kWFPPrefix + 2)<br /><br />//observer.cpp-----------WFPDialogObserver::Update<br /><br />//get currently selected/active widget <br />WidgetID theSelectedWidget = controlView->GetWidgetID();<br /><br />// ist it the text edit field? <br />if (theSelectedWidget == kWFPInsertButtonWidgetID && theChange == kTrueStateMessage) <br />{ <br /><br />IControlView* listBox = panelControlData->FindWidget(kWFPListBoxWidgetID);<br /><br />InterfacePtr<IListControlData> listControlData(listBox, UseDefaultIID()); <br /><br />//Insert the string into listbox <br />PMString strText = dialogCtrl->GetTextControlData(kWFPTextEditBoxWidgetID); <br /><br />// obviously there can't be a translation for text entered by user <br />strText.SetTranslatable(kFalse);<br />listControlData->Add(strText,kWFPTextEditBoxWidgetID); <br />dialogCtrl->SetTextControlData(kWFPTextEditBoxWidgetID, ""); <br />break;      <br /><br />I am not able to Add items into list box.<br /><br />I tried based on Discussion <br />http://www.adobeforums.com/webx/.3bc43877<br /><br />but not able to locate  SDKListBoxHelper file .it is not available in SDK.<br /><br />Please ,<br />Tell me Where I am going wrong.<br /><br />Thanks,<br />Adil

    resource VSPDialogWidget (kSDKDefDialogResourceID + index_enUS)
         __FILE__,
         __LINE__,
         kVSPDialogWidgetID, // WidgetID
         kPMRsrcID_None, // RsrcID
         kBindNone, // Binding
         Frame(5,0,491,266) // Frame (l,t,r,b)
         kTrue,
         kTrue, // Visible, Enabled
         kVSPDialogTitleKey, // Dialog name
              DefaultButtonWidget
                   kOKButtonWidgetID, // WidgetID
                   kSysButtonPMRsrcId, // RsrcID
                   kBindNone, // Binding
                   Frame(9,234,89,254) // Frame (l,t,r,b)
                   kTrue,
                   kTrue, // Visible, Enabled
                   kSDKDefOKButtonApplicationKey,  // Button text
              CancelButtonWidget
                   kCancelButton_WidgetID, // WidgetID
                   kSysButtonPMRsrcId, // RsrcID
                   kBindNone, // Binding
                   Frame(394,234,474,254) // Frame (l,t,r,b)
                   kTrue,
                   kTrue, // Visible, Enabled
                   kSDKDefCancelButtonApplicationKey, // Button name
                   kTrue,  // Change to Reset on option-click.
              WLBCmpListBox   //Tree view
                   kWLBCmpListBoxWidgetID, kPMRsrcID_None,     // WidgetId, RsrcId
                   kBindAll,                                                       // Frame binding
                   Frame(299,49,475,170)           // Frame
                   kTrue, kTrue,                                             // Visible, Enabled
                   kTrue,                               // EraseBeforeDraw
                   kInterfacePaletteFill,           // InterfaceColor
                   kHideRootNode | kDrawEndLine,     // Options. Display root node
                   kFalse,          // Use H Scroll bar
                   kTrue,          // Use V scroll bar
                   20,               // fVScrollButtonIncrement
                   20,               // fVThumbScrollIncrement
                   0,               // fHScrollButtonIncrement
                   0,               // fHThumbScrollIncrement
                   2,               // Items selectable, 0 = No Selection, 1 = Single Selection, 2 = Multiple Selection
                   kFalse,          // Allow children from multiple parents to be selected
                   kTrue,          // Allow discontiguous selection
                        //The tree view is dynamically created.          
    // added to support the list elements in the list box
    resource LocaleIndex (kWLBCmpListElementRsrcID)
         kViewRsrcType,
              kWildFS, k_Wild, kWLBCmpListElementRsrcID + index_enUS
    resource WLBCmpNodeWidget (kWLBCmpListElementRsrcID + index_enUS)
         __FILE__, __LINE__,
         kWLBCmpListParentWidgetId, kPMRsrcID_None,     // WidgetId, RsrcId
         kBindLeft | kBindRight,               // Frame binding
         Frame(0, 0, 194, 20),               // Frame
         kTrue, kTrue,                         // Visible, Enabled
         "",                                        // Panel name
                   // Just a info-static text widget with about-box text view to get white bg.
              WLBCmpTextWidget
                   kWLBCmpTextWidgetID, kPMRsrcID_None,          // WidgetId, RsrcId
                   kBindLeft | kBindRight,                                        // Frame binding
                   Frame(45,1,194,18)                                             // Frame
                   kTrue, kTrue, kAlignLeft,kEllipsizeEnd                    // Visible, Enabled, Ellipsize style
                   "",                                                                 // Initial text
                   0,                                                                 // Associated widget for focus
                   kPaletteWindowSystemScriptFontId,                         // default font
                   kPaletteWindowSystemScriptHiliteFontId,                    // for highlight state.
    If you still got problems, post you email here - I'll send you the complete project/code then.
    -Marc

  • How to fetch all the portal groups into dropdown through webdynpro Java App

    Hello All,
    I have a requirement where I have to fetch all  the groups available in user administrator in portal into a dropdown, so that the admin can select the group from the dropdown and after that when he executes a button u201CGet Detailsu201D he must be able to get the list of users who has been assigned that group .
    I need to achieve this through WebDynpro Java.
    Any pointers or documents on this is very very helpful.
    Thanks,
    Manasa.
    Edited by: Manasa Boyapati on Sep 12, 2011 7:25 AM

    Hi,
    Can you try using the below code ?
    IUser uid = UMFactory.getUserFactory().getUserByLogonID(Userid);
    Iterator groups =  uid.getParentGroups(false);
    while (groups.hasNext())     
      String str_grpname = (String)groups.next();
      IGroup Group = UMFactory.getGroupFactory().getGroup(str_grpname);
    ary_groups.add(Group.getUniqueName());
    Hope you can achieve you results by tweeking this..
    Regards,
    Vijay.

  • How to Integrate new material group into COPA planning KEPM

    Hi Sap Guru's
    Please help me in Integrate new material group into planning
    The planning coordinator is informed that a new material group is to be marketed in the coming year and that this new material group should be included in planning. To generate a default plan value automatically for this new material group, the planning coordinator uses the planning method Copy. In the Transform characteristic values function, the necessary entries are then made so that the sales quantities for an existing, comparable material group are copied to the new material group.
    How can i do the above process...
    Thanks
    Sap Guru

    HI,
    create a new characteristic (KEA5), choose transfer from SAP-table (the tab. where your fiels is available in material master (MARA)), choose the field from the list of available fields from MARA, enter text, save, activate. Assign the char. to your op. concern. Generate the operating concern.
    Aftre this steps the field is in yopur operating concern and the derivation rule can be seen in T-Code KEDR (rule created by SAP automatically). If not, add a derivation rule in KEDR (table lookup).
    best regards, Christian

  • Can't find a self created group during add group in reporting

    The Operations manager that i am using si 2012. First let me describe what I have done.
    In "Authoring", I have created a new group and added two object which is a Windows server 2012 into the group. Then, I tried to use the Windows Server 2012 report template in "Reporting" to create a performance report. After opened the
    report template, there is an "Add Group" button to choose a group of server which need to run the performance report. I have tried to search that created group using its name with or without the % wildcard. Unfortunately, I failed to search my group.
    I have tried to use just only the % wildcard to retrieve all entries. I still failed to find my group from the list.
    The next thing I did is connect to the Operation manager's database, that is the OperationManagerDW database. From my understanding, all entries of object should be stored in the dbo.managedentity table. I have tried to look up the table which display name
    is my create group but still fail. My created group does not have an entry in the table.
    So, my question is what I have missed to make my group searchable in creating report during add group?
    Thanks a lot.

    Dear Xin Guo,
    I have tried your SQL statement and the return is same as what I have experienced when using the Add Group function when running report. That is, my custom group created in the Authoring cannot be seen. 
    I have also checked the OM log but no error being noticed. It seems to be the tables which store the Group created in Authoring is not synchronize with the entries in the ManagedEntity tables. 
    It this a known behavior or my process on creating a custom group in Authoring is not correct? Actually, I followed the steps as described in Microsoft website. The steps is very straight forward and it is not easy
    miss anything.
    Looking forward for your further advise in working out on this. Since I want to generate reports for a group of computers by using the custom group instead of select all computers one by one every time when I run a
    report. 
    Thanks a lot in advance.

  • Pasting multiple objects into frame

    Greetings everyone
    I was wondering if someone could shed some light on how to best paste multiple objects into a single frame.
    Mainly, I'm trying to nest objects that form a part of a newspaper article header; since it's a design element that keeps repeating with each single article I don't want to spend time with manually positioning the elements each time--it's time consuming and prone to sloppiness.
    Unfortunately, the base frame will have about three objects that need to be nested within it. Once I paste one object into a frame, the next time I do `Paste into`--the content (previously pasted object in this case) just gets overridden.
    I've read that, to paste multiple objects into a single frame, one should group the objects first. Now this works pretty well for getting them into the frame, but leaves me with no options to position them relative to the frame. I can't move or position an object individually and I have no option to ungroup them once they've been pasted.
    Here's a small mock-up to depict my peculiar predicament:
    Ideally, I'm aiming to have the main header frame to fit the content of the nested objects and for it to be flexible enough that I can quickly span it across multiple columns as per article requirements.

    !kRON wrote:
    For items that are part of the group, their (X,Y) location coordinates are relative to the document--neither to the group nor the parent frame. The group itself has coordinates that are relative to the parent frame (X+ offset, Y+ offset). I can select the group and the parent frame and use the align to selection options. For individual items, I cannot make a selection of both them and the frame, only between items that are part of a group. I loose options to align an individual item relative to the parent frame, which means I have to drag them around and rely on smart guides.
    I've tinkered around some more and it'd appear it's not possible to lay out the elements as I imagined. So I have to resort to grouping the items that would form a frame and pasting them into a frame. If multiple frames have to be members of a single frame I'd have to group the frames and paste them into the single frame and so on.
    Based on my layout mock-up, I'd end up with 3 frames within the header frame:
    Article header
    Heading
    Article type
    Separator
    Article heading
    Title
    Footer
    Author
    Shape
    Based on experience, should I go with this or stick with the old fashined moving around of loose elements? Will it be a lot of work to maintain resizing and repositioning of the various items and their frames once I start changing the width and height of the header frame or will it save me some time?
    I'm not a working designer or production worker, so anything new takes me longer than I think it should, because I don't have a rich reservoir of quick methods at my fingertips.
    Your description above interested me, because I've been wrestling with the annoying limitations of manipulating and adding compound objects in anchored frames. For many situations, it's probably simplest to assemble each iteration of a compound object, that introduces a new element, outside the anchored frame, then group the elements and paste the grouped object into the anchored frame.
    However, the arrangement of elements in your example made me think that a table might be a workable solution. The answer I arrived at is "Yes, it's a solution, but it takes a while to set up." If it's reusable easily, then it might be worthwhile investing in a few experiments.
    I've attached a zipped idml interchange version of the file, and also a PDF.
    Here are some notes:
    * I created a table with three rows and three columns, no header or footer rows. Three columns because I thought I'd paste a vertical line into an inline anchored frame in the center cell of the top row, for the separator line. Later, I realized that defining the vertical cell rule as paper color would suffice, so I merged the two right cells on the top row to create a two-column row, with text in each cell and the vertical separator between them.
    * I merged all three cells on the second row into a single cell.
    * I merged the two right cells on the bottom row, but later, when I moved the cell rule to position the triangular graphic in the inline anchored frame in the right cell, it moved the vertical cell rule in the first row. So, I had to unmerge (or split) the cells, and cut/paste the triangular graphic's anchored frame into the rightmost cell. To position the anchored frame, I moved the vertical cell rule with Shift+Drag, to keep the table width unchanged.
    * I sampled the purple color with the eyedropper tool while cells were selected and the swatch panel was set to fill the selected object.
    * I didn't spend much time matching the type, as you can see. To position the text, I adjusted the cell margins in some cases, and left/right indention in some cases; I'm not sure which is more efficient in situations where there will be different amounts of text to fit. I didn't create cell styles or paragraph styles (BAH! Bad, bad, bad process) because I won't be repeating this stuff, but you probably will benefit greatly from defining styles for your repeating needs.
    * The triangular cut into the bottom row made it easy to manage creating and positioning the graphic. A non-geometrical object might be trickier. The triangle is a text frame, set to negative space above, so it overlaps the cell above it, enough to avoid a black gap.
    * Except for the vertical paper-colored divider line, all the cells have zero-width strokes.
    * I created the table in a text frame, that I fitted down to the size of the table, but I can't remember if I selected, copied, and pasted the text frame into the text flow to anchor it, or if I selected the table in the text frame, copied and pasted it into the flow. Not sure if it makes a difference in work efficiency.
    If I understand your general needs, this should work well for changing text and adjusting the column widths.
    HTH
    Regards,
    Peter Gold
    KnowHow ProServices

  • How to convert groups into layers by retaining groups names

    Hi,
    I have a file with 90 illustrations on 90 pages. Unfortunately, all illustrations are located in 90 groups but in a single layer. The groups however are named. I'd now like to convert those named groups into 90 layers by retaining their names in order to export each layer into single PNG-files with their correspondent layer-name later on.
    Any ideas anybody?
    Thanks for your help, kind regards,
    Ralf,
    Cologne

    AppleScript = mac only
    VBScript = pc only
    JavaScript = cross platform
    here's a sample in JS...it does the first part, it moves the groups to layers
    var idoc = app.activeDocument; // get active document
    var ilayer = idoc.activeLayer; // get active layer
    for (i=ilayer.groupItems.length-1; i>=0; i--) // loop thru all groups backwards
              var igroup = ilayer.groupItems[i]; // get group
              var newLayer = idoc.layers.add(); // add new layer
              newLayer.name = igroup.name; // rename layer same as group
              igroup.move(newLayer,ElementPlacement.PLACEATEND); // move group to new layer

  • How do move ALL contacts from other groups into iCloud contacts group

    Is there a way to make Icloud contacts the default for the "groups" on my iphone ?
    OR
    is there a way to merge ALL the other groups into icloud contacts so i just have the one Icloud group to deal with on the iphone ?
    Thanks !

    This page: http://www.macworld.com/article/1054187/outlooktoaddress.html - has this to say:
    'Under Outlook 2002 you could simply open your contacts and drag them to the desktop to turn them into vCards. No longer. Try this and the contacts are converted to messages.
    While you can select a single Outlook contact, choose File -> Save As and, in the resulting dialog box, choose vCard Files from the Save as Type pop-up menu, this works only for individual contacts—you can’t export a group of contacts this way.
    You have a few options for eventually getting the things out of Outlook. The first is to select all your contacts and choose Action -> Forward as vCard. Outlook will create a new email message that contains all your contacts as individual vCard attachments. Send this message to yourself, pick it up on the Mac, drag these files into Address Book or Entourage’s Address Book and you’re good to go.
    Or Sperry Software can lend a hand with its $20 vCard Converter Add-in for Microsoft Outlook. This adds a service that enables Outlook to export all your contacts as a single vCard.'
    A Microsoft Help Page suggests:
    'The simplest way to do this would be to export your Outlook contacts to a tab-delimited file and then import that into Address Book.
    In Outlook select File menu --> Export... and select Contacts to a list (tab-delimited text).
    Save the new file to your Desktop.
    In Apple's Address Book select File menu --> Import... and select your file.
    Use the next window to match the field names in Address Book with those in your export file'
    If using either method you import into Address Book you can sync that to iCloud, which is probably easier than trying to import into the iCloud website. If you're prepared to splash out $20 the Sperry Software program would  simplify matters a lot.

  • Import Distribution Group into SharePoint as "Audience"

    I've been searching these threads all day for a solution, and I haven't located one that answers my question...
    We are creating a SharePoint3 site which will have 4 different departments as the audience for it.  Due to the ingress and egress of employees & contractors, both onshore and off, attempting to maintain individual users
    and permissions will be incredibly difficult.
    Is there a way to add the Distribution Group into SharePoint so that all those people on the list can be provided access, with the same permissions, and maintained along with the DG?  There will be little to no emailing from the site itself, we just
    need a way to import the staff without having to do it manually.
    Can this be done? And if so, can you help guide me through the process?
    Thanks in advance.

    Are you sure you want to use an audience? Audiences are for showing/hiding information, but are not to be used as a security boundary (permissions).
    You can instead set up Active Directory Security Groups, then add those Security Groups to a SharePoint Group (or even down to individual lists/items). Add/remove members from the group (using ADUC, etc.) to allow/deny them access to the site.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • I wish to export several still images from iMovie as JPEG or TIFF. Is it possible to do this using iMovie, if so how? Any advice is greatly appreciated. I've already managed to add a freeze frame to extract the desired frame but I can't export it. Thanks.

    I wish to export several frames from iMovie as if they were images (like JPEGs or TIFFs). Is it possible to do this using iMovie, if so how? Any advice is greatly appreciated. I've already managed to 'add a freeze frame' to isolate the desired frames but I can't export it. Thanks.

    Ach... I found a solution thanks to previous posts which came to light after I'd posted what was obviously a question that had been asked before.

  • How do you add a Christmas frame to an image in Elements 10?

    How do you add a Christmas frame to an image in Elements 10?

    In PSE 10, go to Full Edit mode. 
    Open your image.
    Open the Content panel.
    In the first dropdown choose "By Event".
    In the second dropdown choose Christmas.

  • In address book how do I move all cards from my 'last import' smart group into a new group?

    In Address Book, how do I move all cards from my 'last import' smart group into a new group that I will create? So far I am not being allowed to Edit Smart Group!
    Thank you x

    Simon
    You’re going to have a very big problem and very soon. These missing pics are the beginning of trouble.
    the total size of all my folders on my 60gb internal drive is 46.5 gb, yet only 1.9 gb is available,
    OS X needs about 10 gigs of free space on the hard drive for normal OS operations such as virtual memory and temporary files. Without this space the machine slows down as the OS hunts for free space, files become fragmented and applications begin to crash. The risk of data corruption increases exponentially.
    You must, as a matter of urgency, make space on the drive. I cannot stress this enough.
    You may be able to recover the pics from your camera card using an app such as MediaRecover
    Regards
    TD

  • How to insert Group into Report Footer or have two Groups in same level

    Hi,
    I am wondering whether it is possible to have two indepent groups---they are at the same level, in one report.
    I tried insert a group into Footer section or just insert two unnested groups in Group Section, but seems undoable.
    Thank you for your help!

    My suggestion will work.  The basic layout would be:
    G1Ha - printed when grouping field = 1  (your "Group header #1" above)
    G1Hb - printed when grouping field = 2  (your "Group Header #2 above)
    Da  - printed when grouping field = 1 (your "AccountNumber1 Account Name1" under group header 1)
    Db - printed when grouping field = 2 (your "Subreport for AccountNumber1 under group header 2)
    G1Fa - printed when grouping field = 1 (your "Group Footer #1 above)
    G1Fb - printed when grouping field = 2 (your "Group Footer #2 above).
    Since the grouping field is the primary grouping, the order that the formats will display is:
    G1Ha
    Da
    Da
    Da
    G1Fa
    G1Hb
    Db
    Db
    Db
    G1Fb
    matching your example perfectly.
    HTH,
    Carl

  • How to bulk add group members in Open Directory

    So the workgroup manager interface is ghey. The + sign to add group members drag&drops users one at a time. I need to bulk add group members.
    I tried ldapadd to add all the users quickly and that doesn't seem to work. The ldap group record now has all the users populated, under the multivalued attribute memberUid), but workgroup manager doesn't see the bulk group members.
    Any idea how to do this?

    Use tcsh SHELL builtin command 'foreach' to accomplish this:
    $ tcsh
    $ which foreach
    foreach: shell built-in command.
    $ foreach user (`cat users.txt`)
    foreach? echo adding $user to group
    foreach? /usr/bin/dscl -u diradmin -P [passwd] /LDAPv3/127.0.0.1 append /Groups/yourgroup GroupMembership $user
    foreach? end

Maybe you are looking for

  • Is it possible to remember state in Java functions?

    I'm trying to graduate from C to Java, largely skipping C++ in the process. Both for fun, and as a learning experience, I'm converting a C program I wrote almost 7 years ago to Java, which computes sunrise & sunset given one's latitude and longitude

  • My contacts do not sync from my iphone over iCloud to my mac.

    Sorry if this a repeat but I've searched and can not find an answer.  I have an iphone and a mac book pro both os5 with the cloud set up to sync everything.  When I snap a picture with my iphone it shows up on my mac no problem.  However, when I add

  • HELP! Photos on my iPad not showing up when I try to sync with my computer?

    WHen i go to sync onto my PC the PHOTOs don't show up as available. I was traveling to go see family so i downloaded 5000 pictures to my Ipad. Now I can't get them off and I don't want to just delete them as my old PC crashed and I lost them there. I

  • How can i marge all my items for 1 shipping package ?

    Hello I got today the iPhone 6 and also added the new leather case and i also want to order now 2 other accessories. i see in my order page that the case should ship in 1 day and the iPhone as we all know will ship in the 19 of September. Also the 2

  • How to validate synonyms....

    in the database 3 synonyms are invalid. OWNER    OBJECT_NAME                    STATUS PUBLIC    HTMLDB_APPLICATION_FILES      INVALID PUBLIC    WWV_CREATE_FORUM_DEMO_SCRIPT     INVALID PUBLIC       WWV_FLOW_FILES             INVALIDhow i have to val