Need to ungroup objects in anchored frames

Hi all,
Going round and round in circles with this one...and have found other posts around anchored frames, but not this issue.
I created a book (file) with a lot of grouped images (screenshots, arrows, annotations - composed and grouped on clean area).
I created anchored frames, cut and pasted the groups INTO the anchored frames.
So far so good.
Six months later, I need to update the book (it is now a book in InDesign terms, so I was only coping with one section at a time).
I can select each item inside the group using the direct selection tool - so where just a bit of text in an annotation needs to change, that's what I'm doing.
I also need, though, to update some of the screenshots, add new arrows and new annotations (which are just small text boxes).
Nothing I do lets me ungroup the object so I can replace the screenshot and then regroup them.
I have tried releasing the anchored frame, but that doesn't help.
I've tried using the direct selection tool on the frame contents to try to copy it out of the frame, but ungroup remains stubbornly greyed-out.
I've resorted to using the direct selection tool to copy each element individually out onto a clean area, put the new screenshot in the middle, group them all and then re-insert into an anchored frame. One screenshot, one arrow, one caption = nuisance, but OK. One screenshot, 20 arrows, 20 captions = real pain.
Because my deadline is fast approaching, I've just been superimposing the extra arrows and annotations - which will do to create the PDF, but I need to sort it out at some point or I'm going to have a nightmare the next time around with floating arrows all over the place.
I must be missing something, but what?
Wrong selection tool at wrong time?
Thanks in advance,
Alison

It was the stacking problem that really took me to the "copy them out one by one" phase as I needed to replace something that was originally obove some elements but below others. For example,one page originally had two partial screenshots, now it has three. I need to insert one into a layer between the first two (basically, I'm shorf of space on a printed document, and the bottom right section of each screen is blank so I'm taking advantage of that space to overlap).
can delete the "original" top image, then put the two in in the correct order, but I'm covering the arrow heads...by the time I get to this stage, it's as quick to start again comosing a new group.
I'm not putting so much in anchored frames this time around - I thought it would save me time, but it isn't.

Similar Messages

  • DITA - Multiple objects in anchored frame

    Hi,
    I'm using the DITA features in FrameMaker 9. I'd like to insert multiple objects in an anchored frame in a DITA topic.
    Right now, if I save an image element containing multiple objects, FrameMaker discards any extra objects in the frame. I've also experimented with adding extra graphics elements to the DTD using the attributes listed in the Structure Application Developer Guide. I can save DITA topics containing the custom elements, but they are not added to the XML file though I can see them in the FrameMaker interface. I have not yet experimented with a DITA specialization.
    When exporting anchored frames in Structured FrameMaker to XML, FrameMaker bundles multiple objects in a frame into a single CGM file.
    Is there a way to export anchored frames to CGM files before saving DITA topics? Is there a plug-in out there that will automatically save the objects in a frame? Can I use read/write rules to define how to treat these frames? How about creating a specialization on the objects element?
    I'd like to use the tools in FrameMaker to modify elements in an anchored frame. I don't see why doing this should break the DITA model if these objects are bundled into a single file on export.
    Thanks,
    - Maura

    Hi Maura...
    The short answer is .. you can't do that.
    DITA knows nothing about "frames" and only allows a single object to be referenced by an image element, so to remain in compliance with the DITA specification the content of a frame is tightly controlled by FM. There's nothing that you'll be able to do via read/write rules or EDD tricks to get FM to write out the data from multiple objects as a CGM .. this is overridden by the internal DITA plugin within Frame. You're correct that in theory FM could merge multiple graphics into a CGM, but this really wouldn't be a good way to operate since the text or other objects would no longer be editable. You can do this now using Illustrator or other applications that let you store the text and objects on separate layers, then save to a single file. Reference this single file in the image element in DITA.
    That said .. we are looking into supporting some subset of multiple graphic objects within a frame in DITA-FMx, and this feature may be available in an upcoming beta.
    http://leximation.com/dita-fmx/
    Cheers,
    ...scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • Using Anchored Frame Object Attributes to "Store" Art Numbers

    Good Morning, Everyone,
    I have been using FrameMaker for over 15 years now, and as a tech writer who has inherited LOTS of graphics-intensive documents from previous writers, I have often struggled with identifying source files for embedded graphics. (I prefer to embed graphics in my documents, but that is a topic for another discussion ;-) ) More often than not, graphics have been named something that made sense to the original author at the time, but is nothing more than cryptic code to me now.
    As a result, over the years, I have developed a personal "system" for naming my graphics files that identifies/names each file as the document number in which it resides followed by a sequential number. For example, if a document number is UM345-123, then my graphic files are named UM345-123_0001, UM345-123_0002, etc.  I then include a small (hopefully unobtrusive) 8-point text frame in the lower right-hand corner of the graphics frame that indicates the file name for the base graphic. I create an Art# tag that includes an autonumber for the Document Number (e.g., UM345-123,) which is then inserted into the text frame, and I assign the next sequential number to the graphic/file. The advantage to this is that in the future, files are easily identified if someone wants to use my graphic and all they have is a pdf copy of my document - anyone can easily locate the source file and either update it or forward it on.
    One disadvantage is that in some situations, fitting the text frame/graphic number into the graphic frame is tough - to the point where it detracts from the graphic itself.  I am now wondering if it is possible to somehow utilize Anchored Frame Attributes to store the graphic number in these situations. Perhaps create a new attribute specifically for the Art Number? Has anyone else done something similar?
    Thanks in advance for your help!!!
    Nancy

    > ... include a small (hopefully unobtrusive) 8-point text frame in the lower right-hand corner of the graphics frame ...
    We do this as well, either as a text frame, or in the caption table below, with the reference ID set to a non-obnoxious gray. The main issue with doing this is that the ID is hand-typed, and can easily be incorrect, but usually only when it matters .
    We also have other metadata, that the end users don't see, such as file type, scale and rotation, and this is text with a color set, at rendering, to Invisible by Color Views.
    What you really want, however, is metadata that can't be incorrect, and shows the complete provenance of the object. For this, use text in the original art that is several mm above the art/table/chart extents. Clip it after import with the top edge of the anchoring frame or graphic frame within. End users never see it, but future document stewards can either slide the image down, or pull the frame edge up, to reveal the trail of crumbs leading back to the object's place of birth.
    Caution: that out-of-frame metadata may survive into the PDF, depending on Distiller vintage and settings. You can remove it via Examine Document in Acrobat Pro.

  • Hel with modifying cs5/6 script...create anchored frames from text

    hello
    I have one great time saver script for cs5 for create anchored frames from text tagged with/or charachter style/paragraph style. This work in cs6 but have some "bugs" for me. Script need to be compatible with InDesign CS6.
    1. script in original (look bellow) create text frame which is fitted to lenght of the text. I make change and change 466 line:
    AnchoredTextFrame.fit(FitOptions.FRAME_TO_CONTENT);
    now frame is wide as I write in check box, good. But frame not resize to lenght of the text so I add after above lines 466-470:
        var FO = FitOptions.FRAME_TO_CONTENT,
        tfs = ([]).concat.apply([], app.activeDocument.stories.everyItem().textContainers),
        t, i = tfs.length;
    while( i-- ) (t=tfs[i]).overflows && ( t.locked || t.fit(FO) );
    now all is ok but is here better way to make this to work? Simply, i want to spec text frame width in dialog box, frame will resize only verticaly in direction to amount text in frame. I dont want any overset text.
    2. One "bug". For some reason script alter paragraph style of other text which is not subject to be cutted in anchored frame.
    How to resolve this?
    #targetengine "session"
              Automating anchored object creation
              Version: 2
        Script by Thomas Silkjær
              http://indesigning.net/
    Модификация Б. Кащеев, www.adobeindesign.ru
    Скрипт предназначен для создания привязанных фреймов из текста, отформатированного
    каким-либо абзацным или символьным стилем. Эти стили задаются пользователем в диалоговом
    окне скрита. Там же необходимо задать объектный стиль для привязанного фрейма, в котором
    пользователь должен заранее задать оформление и параметры привязки. Далее необходимо
    указать ширину привязанного фрейма, а его высота будет рассчитана автоматически исходя из
    объема текста. При вводе дробных значений ширины привязанного фрейма в качестве
    разделителя целой и дробной части следует использовать не запятую, а точку, следуя западным
    стандартам разработчиков программы  Adobe InDesign. Первоначально идея и скрипт по созданию
    привязанных фреймов принадлежит Thomas Silkjær для версии ID CS4. C появлением версий CS5
    и CS5.5 скрипт перестал в них выполняться, да и в версии CS4 не всегда корректно работал.
    Анализируя недочеты скрипта в данной его версии были исправлены ошибки и внесены
    функциональные дополнения исходя из понимания задачи автором модификации. Добавлена
    возможность выбора стилей, если они они находятся в группах (папках), возможность выбора
    единиц измерения из выпадающего списка, изменены GREP-выражения для поиска текста,
    область действия скрипта ограничена материалом (Story), а не документом.
    var myMeasureUnits = ["Milimeters","Centimeters","Points","Inches", "Picas", "Ciceros"];
    var selectUnits;
    var pStyleIndex = null;
    var cStyleIndex = null;
    var oStyleIndex = null;
    var myH, myW;
    function main()
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
              if (app.documents.length == 0)
                        alert ("Document is not open. Open document first");
                        return;
        var myParaStyleList = myGetParagraphStyleNames();
        var myCharStyleList = myGetCharacterStyleNames();
        var myObjStyleList = myGetObjStyleNames();
        if(app.selection.length && app.selection[0].hasOwnProperty("baseline"))
            var myStory = app.selection[0].parentStory;
            var myWin = myDialog(myParaStyleList, myCharStyleList, myObjStyleList);
            if ( myWin.show()  == 1 )
                var myDocument = app.activeDocument
                with (myDocument.viewPreferences){
                    // Сохраняем старые единицы измерения в переменных myOldXUnits, myOldYUnits
                    var myOldXUnits = horizontalMeasurementUnits;
                    var myOldYUnits = verticalMeasurementUnits;
                    // Устанавливаем новые единицы измерения
                    switch(selectUnits)
                        case 0:                   
                            horizontalMeasurementUnits = MeasurementUnits.millimeters;
                            verticalMeasurementUnits = MeasurementUnits.millimeters;
                            break;
                        case 1:
                            horizontalMeasurementUnits = MeasurementUnits.centimeters;
                            verticalMeasurementUnits = MeasurementUnits.centimeters;
                            break;
                        case 2:
                            horizontalMeasurementUnits = MeasurementUnits.points;
                            verticalMeasurementUnits = MeasurementUnits.points;
                            break;                  
                        case 3:
                            horizontalMeasurementUnits = MeasurementUnits.inches;
                            verticalMeasurementUnits = MeasurementUnits.inches;
                            break;
                        case 4:
                            horizontalMeasurementUnits = MeasurementUnits.picas;
                            verticalMeasurementUnits = MeasurementUnits.picas;
                            break;
                        case 5:
                            horizontalMeasurementUnits = MeasurementUnits.ciceros;
                            verticalMeasurementUnits = MeasurementUnits.ciceros;
                            break;
                        default: break;
                    } // switch
                if(cStyleIndex == null)
                {/*поиск по стилю абзаца*/
                    var pStyle = getParagraphStyleByName(myParaStyleList[pStyleIndex]);
                    resetGREPfindChange();
                    app.findGrepPreferences.appliedParagraphStyle = pStyle;
                    app.findGrepPreferences.findWhat = NothingEnum.nothing;
                else //
                    // поиск по стилю символов
                    var cStyle = getCharacterStyleByName(myCharStyleList[cStyleIndex]);
                    resetGREPfindChange();
                    app.findGrepPreferences.appliedCharacterStyle = cStyle;
                    //app.findGrepPreferences.findWhat = ".+";
                    app.findGrepPreferences.findWhat = NothingEnum.nothing;
                var foundItems = myStory.findGrep();
                if(!foundItems.length) {
                    alert("Found the text to be placed in a linked frames"); exit();
                //alert(foundItems.length);
                //alert (foundItems[0].contents)
                //alert (foundItems[1].contents)
                var oStyle = getObjectStyleByName(myObjStyleList[oStyleIndex]);
                for(var i = foundItems.length-1; i >=0; i--)
                    //alert (foundItems[i].contents)
                    createAnchoredFrame(foundItems[i], oStyle);
                with (myDocument.viewPreferences){
                    try{
                        horizontalMeasurementUnits = myOldXUnits;
                        verticalMeasurementUnits = myOldYUnits;
                    catch(myError){
                        alert("Unable to return to the original unit");
            } //if ( myWin.show()
        } //if(app.selection.length && app.selection[0].hasOwnProperty("baseline"))
        else
            alert("Place the cursor in the text and run the script again")
    } // main
    function myGetParagraphStyleNames()
    // Получаем список стилей абзацев
              var curGroup;
              var curGroupName;
              var curNameInGroup;
              var myParagraphStyleNames = app.activeDocument.paragraphStyles.everyItem().name;
              myParagraphStyleNames.shift(); // удаление стиля No Paragraph Style
              var paraGroups = app.activeDocument.paragraphStyleGroups;
              var paraGroupsLen = paraGroups.length;
              for(var i = 0; i < paraGroupsLen; i++) {
                        curGroup = paraGroups[i];
                        curGroupName = paraGroups[i].name;
                        curGroupStyleNames = curGroup.paragraphStyles.everyItem().name
                        for (j=0; j< curGroupStyleNames.length; j++)
                                  curNameInGroup = curGroupName +":"+ curGroupStyleNames[j];
                                  myParagraphStyleNames.push(curNameInGroup);
              return myParagraphStyleNames;
    function myGetCharacterStyleNames()
    // Получаем список символьных стилей
              var curGroup;
              var curGroupName;
              var curNameInGroup;
              var myCharacterStyleNames = app.activeDocument.characterStyles.everyItem().name;
              myCharacterStyleNames.shift(); // удаление стиля None
              var charGroups = app.activeDocument.characterStyleGroups;
              var charStyleGroupLen = charGroups.length;
              for(var i=0; i < charStyleGroupLen; i++)
                        curGroup = charGroups[i];
                        curGroupName = charGroups[i].name;
                        curGroupStyleNames = curGroup.characterStyles.everyItem().name;
                        for (j=0; j< curGroupStyleNames.length; j++)
                                  curNameInGroup = curGroupName +":"+ curGroupStyleNames[j];
                                  myCharacterStyleNames.push(curNameInGroup);
              } //for
              return myCharacterStyleNames;
    } // fnc
    function myGetObjStyleNames()
        var curGroup;
              var curGroupName;
              var curNameInGroup;
              var myObjStyleNames = app.activeDocument.objectStyles.everyItem().name;
        myObjStyleNames.shift();
        var objGroups = app.activeDocument.objectStyleGroups;
        var objStyleGroupLen = objGroups.length;
        for(var i=0; i < objStyleGroupLen; i++)
                        curGroup = objGroups[i];
                        curGroupName = objGroups[i].name;
                        curGroupStyleNames = curGroup.objectStyles.everyItem().name;
                        for (var j=0; j< curGroupStyleNames.length; j++)
                                  curNameInGroup = curGroupName +":"+ curGroupStyleNames[j];
                                  myObjStyleNames.push(curNameInGroup);
              } //for
        return myObjStyleNames;
    } // fnc
    function myDialog(myParaStyleList, myCharStyleList, myObjStyleList)
        var myDialog = new Window('dialog', 'Create anchored text frames');
        this.windowRef = myDialog;
              myDialog.orientation = "column";
        myDialog.alignChildren = ['fill', 'fill'];
        // добавляем панель 1 с элементами управления
        myDialog.Pnl1 = myDialog.add("panel", undefined, "Move the text in linked frames");
              myDialog.Pnl1.orientation = "column";
        myDialog.Pnl1.alignChildren = "left";
        myDialog.Pnl1.pstyle = myDialog.Pnl1.add('checkbox', undefined, "Text with the paragraph style");
        myDialog.Pnl1.pstyle.value = false;
        myDialog.Pnl1.dropdownParaStyle = myDialog.Pnl1.add("dropdownlist", undefined, myParaStyleList);
        myDialog.Pnl1.dropdownParaStyle.title = "Select the paragraph style ";
        myDialog.Pnl1.dropdownParaStyle.minimumSize = [250,20];
        myDialog.Pnl1.dropdownParaStyle.enabled = false;
        myDialog.Pnl1.dropdownParaStyle.selection = 0;
        if(myCharStyleList.length)
            myDialog.Pnl1.сstyle = myDialog.Pnl1.add('checkbox', undefined, "Text with character style");
            myDialog.Pnl1.сstyle.value = false;
            myDialog.Pnl1.dropdownCharStyle = myDialog.Pnl1.add("dropdownlist", undefined, myCharStyleList );
            myDialog.Pnl1.dropdownCharStyle.title = "Select the character style ";
            myDialog.Pnl1.dropdownCharStyle.minimumSize = [250,20];
            myDialog.Pnl1.dropdownCharStyle.enabled = false;
            myDialog.Pnl1.dropdownCharStyle.selection = 0;
            myDialog.Pnl1.pstyle.onClick = function()
                if(this.value) {
                    myDialog.Pnl1.dropdownParaStyle.enabled = true;
                    myDialog.Pnl1.dropdownCharStyle.enabled = false;
                    myDialog.Pnl1.сstyle.value = false;
                else
                    myDialog.Pnl1.dropdownParaStyle.enabled = false;
                    myDialog.Pnl1.dropdownCharStyle.enabled = true ;
                    myDialog.Pnl1.сstyle.value = true;
            }// fnc
            myDialog.Pnl1.сstyle.onClick = function()
                if(this.value)
                    myDialog.Pnl1.dropdownCharStyle.enabled = true;
                    myDialog.Pnl1.dropdownParaStyle.enabled = false;
                    myDialog.Pnl1.pstyle.value = false;
                else
                    myDialog.Pnl1.dropdownCharStyle.enabled = false;
                    myDialog.Pnl1.dropdownParaStyle.enabled = true ;
                    myDialog.Pnl1.pstyle.value = true;
            }// fnc
        }//  if(myCharStyleList.length)
        else
            myDialog.Pnl1.pstyle.onClick = function()
                if(this.value)
                    myDialog.Pnl1.dropdownParaStyle.enabled = true;
                else
                    myDialog.Pnl1.dropdownParaStyle.enabled = false;
    //  Вторая панель
        myDialog.Pnl2 = myDialog.add("panel", undefined, "Parameters of the text frame");
              myDialog.Pnl2.orientation = "column";
        myDialog.Pnl2.alignChildren = "left"; 
        myDialog.Pnl2.dropdownObjStyle = myDialog.Pnl2.add("dropdownlist", undefined, myObjStyleList );
        myDialog.Pnl2.dropdownObjStyle.title = "Select an object style ";
        myDialog.Pnl2.dropdownObjStyle.minimumSize = [250,20];
        myDialog.Pnl2.dropdownObjStyle.enabled = true;
        myDialog.Pnl2.dropdownObjStyle.selection = 0;
        myDialog.Pnl2.Group1 = myDialog.Pnl2.add( "group" );
        myDialog.Pnl2.Group1.stxt1 = myDialog.Pnl2.Group1.add("statictext", undefined, "The width of the text frame");
        myDialog.Pnl2.Group1.etxt = myDialog.Pnl2.Group1.add("edittext", undefined, "40");
        myDialog.Pnl2.Group1.etxt.characters = 10;
        myDialog.Pnl2.Group1.dropdownMeasurementUnits = myDialog.Pnl2.Group1.add("dropdownlist", undefined, myMeasureUnits );
        myDialog.Pnl2.Group1.dropdownMeasurementUnits.maximumSize = [80,20];
        myDialog.Pnl2.Group1.dropdownMeasurementUnits.selection = 0;
        //myDialog.Pnl2.Group1.stxt2 = myDialog.Pnl2.Group1.add("statictext", undefined, "mm ");
        /*myDialog.Pnl2.Group2 = myDialog.Pnl2.add( "group" );
        myDialog.Pnl2.Group2.stxt1 = myDialog.Pnl2.Group2.add("statictext", undefined, "Высота привязанного фрейма  ");
        myDialog.Pnl2.Group2.etxt = myDialog.Pnl2.Group2.add("edittext", undefined, "30");
        myDialog.Pnl2.Group2.etxt.characters = 10;
        //myDialog.Pnl2.Group2.stxt2 = myDialog.Pnl2.Group2.add("statictext", undefined, "mm ");*/
        myDialog.Pnl2.stxt1 = myDialog.Pnl2.add("statictext", undefined, "Attention! When you enter fractional values as");
        myDialog.Pnl2.stxt2 = myDialog.Pnl2.add("statictext", undefined, "the decimal part, should be used");
        myDialog.Pnl2.stxt3 = myDialog.Pnl2.add("statictext", undefined, "point, not comma.");
        myDialog.Pnl2.stxt1.graphics.foregroundColor = myDialog.Pnl2.stxt1.graphics.newPen (myDialog.Pnl2.stxt1.graphics.PenType.SOLID_COLOR, [1, 0, 0, 1], 1);
        myDialog.Pnl2.stxt2.graphics.foregroundColor = myDialog.Pnl2.stxt2.graphics.newPen (myDialog.Pnl2.stxt2.graphics.PenType.SOLID_COLOR, [1, 0, 0, 1], 1);
        myDialog.Pnl2.stxt3.graphics.foregroundColor = myDialog.Pnl2.stxt3.graphics.newPen (myDialog.Pnl2.stxt3.graphics.PenType.SOLID_COLOR, [1, 0, 0, 1], 1);
        // --------- кнопки --------------
        var myGroup = myDialog.add( "group" );
        myGroup.orientation = 'row';
        myGroup.alignChildren = ['fill', 'fill']; 
        myGroup.okButton = myGroup.add( "button", undefined, "OK" );
        myGroup.okButton.onClick = function()
            if(myCharStyleList.length) // есть символьные стили в документе
                if(!myDialog.Pnl1.pstyle.value && !myDialog.Pnl1.сstyle.value)
                    alert("You must select a paragraph style or character style");
                    return ;
                if(myDialog.Pnl1.pstyle.value) { pStyleIndex= myDialog.Pnl1.dropdownParaStyle.selection.index; cStyleIndex = null;}
                else {cStyleIndex = myDialog.Pnl1.dropdownCharStyle.selection.index; pStyleIndex=null; }
            else // нет символьных стилей
                if(!myDialog.Pnl1.pstyle.value)
                    alert("You must select a paragraph style");
                    return;
                pStyleIndex = myDialog.Pnl1.dropdownParaStyle.selection.index;
                cStyleIndex = null;
            } //  else // нет символьных стилей
           oStyleIndex = myDialog.Pnl2.dropdownObjStyle.selection.index;
           if(myDialog.Pnl2.Group1.etxt.text =="")
               alert("Enter the width of the text frame");
               return;
            else
                myW = myDialog.Pnl2.Group1.etxt.text;
                myH = myW;
            /*if(myDialog.Pnl2.Group2.etxt.text == "")
                alert("Введите высоту привязанного фрейма");
                return;
            else
                myH = myDialog.Pnl2.Group2.etxt.text;
           selectUnits = myDialog.Pnl2.Group1.dropdownMeasurementUnits.selection.index;
            myDialog= this.window.close( 1 );
        myGroup.cancelButton = myGroup.add( "button", undefined, "Cancel" );
        myGroup.cancelButton.onClick = function() { myDialog = this.window.close( 0 ); }
        myDialog.Pnl3 = myDialog.add("panel", undefined, "");
        myDialog.Pnl2.alignChildren = "left";
        myDialog.Pnl3.stxt = myDialog.Pnl3.add("statictext", undefined, "(с) Thomas Silkjær        (с) Борис Кащеев, www.adobeindesign.ru ");
        return myDialog;   
    } // fnc
    function getParagraphStyleByName(myStyleName)
              var DocParaStyles = app.activeDocument.paragraphStyles;
              var DocParaGroups = app.activeDocument.paragraphStyleGroups;
              myStyleName = ""+myStyleName;
              var pos = myStyleName.indexOf(":")
              if(pos == -1)
              // стиль не в группе
              var myStyle = DocParaStyles.item(myStyleName);
                        return myStyle;
              } //if
              else
                        var myGroupAndStyleNames = myStyleName.split(":")
                        var myGroupName = myGroupAndStyleNames[0];
                        var myStyleName = myGroupAndStyleNames[1];
                        var myGroup =DocParaGroups.item(myGroupName);
                        return myGroup.paragraphStyles.item(myStyleName);
    } // fnc
    function getCharacterStyleByName(myStyleName)
              var DocChStyles = app.activeDocument.characterStyles;
              var DocCharGroups = app.activeDocument.characterStyleGroups;
              // Есть ли в имени полученного символьного стиля двоеточие? (двоеточие разделяет название группы стилей и название стиля)
              myStyleName = String (myStyleName);
              var pos = myStyleName.indexOf(":");
              if(pos == -1)
              // стиль не в группе
                        return DocChStyles.item(myStyleName)
              } //if...
              else
              {// Стиль в какой-то группе
                        var myGroupAndStyleNames = myStyleName.split(":")
                        var myGroupName = myGroupAndStyleNames[0];
                        var myStyleName = myGroupAndStyleNames[1];
                        var myGroup = DocCharGroups.item(myGroupName);
                        return myGroup.characterStyles.itemByName(myStyleName);
              } // else
    } // fnc()+
    function getObjectStyleByName(myStyleName)
        var DocObjStyles = app.activeDocument.objectStyles;
        var DocCObjGroups = app.activeDocument.objectStyleGroups;
        myStyleName = String (myStyleName);
        var pos = myStyleName.indexOf(":");
        if(pos == -1)
              // стиль не в группе
                        return DocObjStyles.item(myStyleName);
              } //if...
        var myGroupAndStyleNames = myStyleName.split(":");
        var myGroupName = myGroupAndStyleNames[0];
        var myStyleName = myGroupAndStyleNames[1];
        var myGroup = DocObjGroups.item(myGroupName);
                        return myGroup.objectStyles.itemByName(myStyleName);
    } //fnc
    function resetGREPfindChange()
        app.changeGrepPreferences = NothingEnum.nothing;
        app.findGrepPreferences = NothingEnum.nothing;
        app.findChangeGrepOptions.includeFootnotes = false;
        app.findChangeGrepOptions.includeHiddenLayers = false;
        app.findChangeGrepOptions.includeLockedLayersForFind = false;
        app.findChangeGrepOptions.includeLockedStoriesForFind = false;
        app.findChangeGrepOptions.includeMasterPages = false;
    function createAnchoredFrame(myText, myObjStyle)
        var myGeometricBounds = [];
        var myInsertionPoint = myText.insertionPoints[0];
        myInsertionPoint.select;
        var AnchoredTextFrame = myInsertionPoint.textFrames.add();
        myGeometricBounds = AnchoredTextFrame.geometricBounds;
        //alert(parseFloat(myH) + " " + parseFloat(myW))
        myGeometricBounds[2] = myGeometricBounds[0] + parseFloat(myH);
        myGeometricBounds[3] = myGeometricBounds[1] + parseFloat(myW);
        AnchoredTextFrame.geometricBounds = myGeometricBounds;
        AnchoredTextFrame.anchoredObjectSettings.anchoredPosition = AnchorPosition.anchored;
        myText.move(LocationOptions.before, AnchoredTextFrame.texts[0]);
        AnchoredTextFrame.appliedObjectStyle = myObjStyle;
        AnchoredTextFrame.fit(FitOptions.CONTENT_TO_FRAME);
        var FO = FitOptions.FRAME_TO_CONTENT,
        tfs = ([]).concat.apply([], app.activeDocument.stories.everyItem().textContainers),
        t, i = tfs.length;
    while( i-- ) (t=tfs[i]).overflows && ( t.locked || t.fit(FO) );
    } //fnc
    main();

    Hi Cari,
    I did create a new user account (admin level) and InDesign works like a charm.
    When I went back to the other account, plug-ins gone, I deleted the prefs and caches, restarted and still everything is crashing as before.
    At least I am working on one account and I will contiue to troubleshoot on the other account. And at some point either the new account will crash or the old account will work and I will go from there.
    Thanks for the info about Mac remembering info. Always trying to be helpful these Macs.
    And thanks for getting at least into a workable space!!! I am supremely grateful!

  • How to define alt text for an anchored frame in FrameMaker 11?

    What is the procedure in FrameMaker 11 to include alt text for anchored frames? We need to produce tagged PDF output that is accessibility compliant; this output must include alt text for each image in the document that a screen reader can read out.
    In previous FrameMaker versions, it was possible to define alt text as follows:
    Select the frame and choose Graphics > Object Properties.
    Click Object Attributes.
    In the Text Attributes section, add your alt text and actual text, and then click Set.
    The FrameMaker online help still describes this same procedure, at http://help.adobe.com/en_US/framemaker/using/WSd817046a44e105e21e63e3d11ab7f7960b-7f0f.htm l. However, I see that in FrameMaker 11, what you get on choosing Graphics > Object Properties has completely changed from previous versions, and I cannot see Object Attributes.
    Where is the alt text defined for an object in FrameMaker 11?

    In the Anchored Frame panel, click on the Object Attributes button.

  • Remove Structured Anchored Frame  without disturbing the XML Structure - Reg.

    Dear All,
    Please any one help me!, How to remove the xml Structured Anchored Frame without disturbing the XML Structure.
    Manually If I'm removing the XML Structured Anchored Frame, the XML Structured is gone.
    I tried so many ways.  If  I am removing manually in Grouped Frame, then this problem is not happens.
    I mean, Create 2 separate frames Move any xml structured contents to that frames. Group that 2 frames and make it anchored.
    Now you can remove that anchored, this xml Structure is not disturbing (I mean not removed).
    If I did the same in above method for Single Text Frame, this xml Structure is gone.
    Kindly any one person resolve this problem, Thanks in advance!!!
    Note:
    (1) I tried through in InDesign CS6 Plug-In, this is working perfectly. But I need in Javascript to do this.
    Thanks & Regards
    T.R.Harihara SudhaN

    Hm – if you can do it with a Group object, why don't you wrap around a group object?
    With ExtendScript it's quite possible to create Groups with only one single object.
    If we have a text frame selected, you could add a "helper" rectangle to the spread.
    Group the text frame and the rectangle, then remove the rectangle from the group.
    Now you have a Group with a single text frame.
    var myTextFrame = app.selection[0];
    var myHelperRectangle = app.documents[0].layoutWindows[0].activeSpread.rectangles.add();
    var myGroup = app.documents[0].layoutWindows[0].activeSpread.groups.add([myTextFrame,myHelperRectangle]);
    myGroup.rectangles[0].remove();
    app.documents[0].select(myGroup);
    Uwe

  • Paragraph style including anchored frame possible?

    Hi,
    I'm working on a new template and can't get a specific paragraph style to work correctly.
    The page layout is a 1/3 to 2/3 page column layout. The 1/3 page column is called a "Marginalia"- column in German, sorry don't know the term in English. All graphics are in the 1/3 page column, while the text belonging to it is in the 2/3 page column. I need a paragraph style that contains an anchored frame as a placeholder for future graphics in the 1/3 page column and its corresponding text in the 2/3 page column.
    I've set up the page with only one text frame which is the width of the 2/3 page. The left margin of the this text frame is the left margin of the running text. All graphics are placed to the right of it.
    Can anyone tell me if this is possible and how to best go creating such a paragraph style?
    THANKS!

    Paragraph styles don't include an anchored frame attribute. You can include an anchored frame in any paragraph (though off the top of my head I don't know a way to insert one automatically -- perhaps it would be scriptable), and you can assign an object style to the anchored frame that contains all the positioning information as well as any text styling or graphic fitting information you might want to use.

  • Insert inset in anchored frame

    I cannot find the info on how to insert an Inset into an existing AFrame using ExtendScript. Does anyone have experience with this?
    Thanks
    Jang

    Hi Russ,
    I know I would have to fire myself, and believe me, I have tried many times. But my boss will not let me go :-)
    What I am doing is this: I walk through a document and find anchored frames. If the anchored frame contains more than one graphic (which includes referenced files, lines, text boxes and such), I convert the entire contents of the anchored frame into a single SVG, which then replaces the contents of the anchored frame. This makes the graphic object, including possible arrows, text boxes etc. suitable for conversion to structured framemaker and/or output to XML. It works fine when there is at least one referenced graphic (Inset) in the anchored frame, as I simply change its InsetFile to the newly created SVG. This works like a breeze, even though FM complains about changed image formats when I reopen the file. The SVGs are displayed correctly, so I am happy. But when I encounter a file that has no referenced graphics, just lines and text boxes and - god forbid - images that were copied in rather than referenced, I have no single Inset to change the InsetFile property of. So I will have to add an Inset to the AFrame at that point and set its InsetFile property.
    As you see, there is no text involved and no paragraphs available to set a text location to. If you have a bright idea about this, I would be over the moon. This type of thing has been on my mind ever since I found that FM creates an - Ugh! - CGM out of any AFrame that contains multiple graphic elements. An SVG for that purpose is infinitely better, as it will even allow me to create references to callouts from the text, or have captions inside the text boxes pick up their content from referenced elements in the text flow. Once I have the conversion to SVG perfected, there is no limit to what I can do next.
    Let me know if you have the info I need. I know you have been playing around with inserting graphics into an AFrame, but I need to add an Inset right there.
    Ciao
    Jang

  • Finding anchor frame for broken links to graphic

    I have a document that when opening wants a new link to a graphic that has been deleted from the file. I have looked on the body pages, master pages, reference pages, everywhere I can think of to locate where the graphic the file is looking for could be located. Can anyone suggest additional places in file to look?
    Thanks

    If the file isn't part of a book, make it one, then:
    Add > List of > Figures
    and you'll find out what page it's on (if LOF catalogs missing imports, which it may not).
    You can also save as MIF and look in the MIF for the object name. You need to learn a little about MIF to decipher where that maps to in the document.
    Import references can hide in all sorts of places, including but not limited to:
    beyond edge of anchored frame (had 2 of those just today)
    hidden behind an opaque something you can see
    conditional text currently turned off
    text flowed out of sight on disconnected page
    in plain sight, but hidden by Color Views
    Worst case scenario: create a 1x1 pixel white object and give it the name of the rogue.

  • How to link a text box to an anchor frame in the master pages?

    Ok, as the title states, we are trying to figure out if it is possible to link a text box to an anchor frame in the master page. When you look at our Master Page layout, we have a text box in the upper left hand corner of the left hand page, this is used for our machine serial numbers. Then we have an anchor frame that automatically fills out the figure number. Let's say I have pages 2 & 3 (left & right), they have a S/N at the top of the page for the machine, then pages 4 & 5 have a different S/N. If I have to add more pages in between pages 2 & 3 (bumping the current 4 & 5 to 6 & 7), the anchor frame bumps to the next page, but the S/N text box doesn't. Is there a way to fix it so that they both move to the next page? Thanks for the help.
    P.S. I can include images and other info if needed.

    I have included a two pictures that should help me explain.
    Master Page:
    This is the master page set up, the "Page Text Box" has the flow set to "B" while the S/N text box has the flow set to "A". This setup is for our parts manuals, the left page is usually an illustration while the right page is usually a parts list. The text box, anchored frame & paragraph tag are empty in the master page set up. The "page text box" has a flow of "B" and the "S/N text box" has a master flow of "A".
    Body Page 1:
    When we create new pages, the paragraph tag automatically fills in the figure title on the left page, then we add an anchor frame within the text box to hold the illustration. You will notice that I added in a "test" serial number at the top of the page. Now if I need to go back and add two pages before this, the anchor frame, illustration and parts list will move to a new page, but the S/N text box will not. The "Before S/N TBD" would stay on the original page.
    This is what happens, the text box containing the illustration and the parts list "bump" to the next page, but the S/N text box does not. So the question we have is there a way to link that text box to the page so when we create new pages the S/N text box moves with the illustration.
    Does this help?
    Thanks for the assistance Error7103.

  • Anchored Frame with auto shrink wrap

    Hi
    I have an issue that I need help with.
    I'm importing a range of graphics into my document and in my read/write rules I have all of the required properties to the images.  When the images are imported they are correctly displaying (size etc) but the default margin of the anchored frame is still there.  Is there any way that you can automatically apply the shrink wrap to the anchored frame (or set the anchored frame to have a default margin of 0?).
    Some of the images that we have are only 5mm x 5mm and there may be several of these on a single page.  Therefore selecting each individual image and pressing Esc m p to shrink wrap will become a very time consuming process.
    Any suggestions that may be provided would be greatly appreciated.
    Regards
    Reeta.

    You want Bruce Foster's ImpGraph plug in.
    http://home.comcast.net/~bruce.foster/ImpGraph.htm
    It works well.
    Art
    Art Campbell
                   [email protected]
      "... In my opinion, there's nothing in this world beats a '52
    Vincent and a redheaded girl." -- Richard Thompson
                                                          No disclaimers apply.
                                                                   DoD 358

  • Anchored frame that is run-around AND protrudes into margin?

    Hi,
    FM 8.04, Win XP.
    Is it in any way possible to create a small anchored frame (let's say 10 x 10 mm) that is run-around AND protrudes 1 or 2 mm into the left margin?
    I need it for drop caps and have managed everything except the protrusion into the margin.
    I can get protrusion into the margin by setting the anchored frame to "Outside column" or "Outside text frame" and then setting a negative value for "Distance from text column" - but then it isn't run around by the body text (despite inserting a text frame into the anchored frame and changing run-around properties).
    Any ideas?
    TIA,
    Mats

    Mats,
    Unfortunately, you're hitting the limits of anchored frame behaviour.
    It's an either/or proposition. You can have run-arounds, but you can't
    control the position except for placement at the start or end of a
    paragraph.
    An alternative, but clumsy and labour-intensive, is to set the start
    positions (indents - first & left) of all of the document paratags to
    be the desired offset (1-2mm) of the anchored frame. Then by setting
    the frame to start at the beginning of the anchoring paratag (not set
    with the indents), you will get the equivalent effect.
    If this is just going to be a single location and won't be subject to
    much editing (i.e. document reflow), then you could also consider
    using a graphic frame set with runaround, which you can position
    anywhere.

  • Irregularity with anchor behaviour - inserting anchors in anchored frames

    I am experiencing irregular behaviours with anchors and I'm not sure if it's a glitch or something I am overlooking. Sometimes it works, sometimes it dosen't, and I can't tell what is causing the difference.
    What I want is an anchored text fram to a main body text - which is an imag caption - and from this text frame I create a new anchored image frame, in which I put the image I am referring to in the caption. Sometimes this process works smoothly, while other times, when I go to insert the anchor in the anchored text frame it re-routes me back to the main body text from where I came. I have tried different insertion points within the anchored text frame, but nothing seems to solve the problem in this scenario....
    any ideas?
    thanks!

    Kat,
    I hope I understand your problem correctly.
    The paragraph containing the figure title is positioned in the side head with alignment set to Top Edge. Then that paragraph is followed by another paragraph, which of course is in the main text column, empty, and aligned at the top with the side head.
    With the insertion point in the second paragraph, import the image file. This puts the image below the line. Select the image, not the anchored frame, and scale it if necessary. If not created at the correct size, you probably want to scale it down to fit the width of the text column. Now press the key sequence Esc, m, p (note m and p are lowercase). The anchored frame shrinks to fit tightly around the image and changes it position to At Insertion Point. If you turn on Text Symbols, you will see the end-of-paragraph symbol at the lower right edge of the image, and the top of the anchored frame will align with the TOP of the side head text.
    You also have to be sure the line spacing of the paragraph holding the image is NOT fixed or Frame will move the image up.
    Hope this is what you need,
    Van

  • Converting All Figures in Anchored Frames With Callouts

    I need to take a few hundred linked graphics in anchored frames that have FrameMaker callouts,save them as PNG files with the callouts embedded (yes, I know I won't be able to edit the callouts later) using different names (or another location), and relink to the new graphics. Doing this one by one is doable, but suboptimal.
    I'm not sure if I need a script, some other tool, or if there is some easy way I am missing. Anyone else have to do this and can give me a pointer or two?
    Thanks,
    Marc

    This isn't a full solution, but does reduce the workload.
    Using Acrobat Pro (possibly Standard, probably not Reader),
    use the Document > Split Document feature set to:
    (*) Number of Pages [ 1 ]
    and:
    Output Options:
    [*] Use Label [ Page ]
    The file names won't be your image IDs, however.
    This gives you the original PDF as single file per page, which dramatically enhances options for batch processing with other apps.
    For example, you could use PhotoShop to batch convert those .pdf's to .png's, with full control over res. Illustrtator can also do this (File > Export), with res control.
    You could actually re-import those page images back into the FM doc, using Graphic Frames (clipping paths) to hide all page content except the desired images.

  • Accessibility: Reading order of tables and anchored frames

    I am creating accessible, tagged (section 508 compliant) PDFs in FrameMaker 9. The reading order for tables and frames is not correct.
    When I view the PDF reading order using Adobe Acrobat Professional or another screen reader, anchored items such as tables and anchored frames are  placed last in the reading order, regardless of where they appear in the document flow or page layout. The reading order skips over all tables and frames, reading all paragraphs on a page first, then reading the tables and frames as the last objects on the page. This logically doesn't make sense to skip over tables/frames as they generally apply to the content that preceeds it.
    For example, the following document structure:
    <Paragraph 1>
    <Table 1>
    <Paragraph 2>
    <Anchored Frame 1>
    <Paragraph 3>
    <Anchor Frame 2>
    <Paragraph 4>
    is being read by assistive technology as:
    <Paragraph 1>
    <Paragraph 2>
    <Paragraph 3>
    <Paragraph 4>
    <Table 1>
    <Anchored Frame 1>
    <Anchor Frame 2>
    I want the document structure to be read correctly as intended.
    In otherwords, the PDFs generated by FrameMaker 9 are not completely accessible because of incorrect reading order output by default. This information is not listed in the VPAT for FrameMaker 9.
    I want to avoid any post processing using Acrobat's Touch Up Reading Order tool. Is there a way to automate updates to reading order?
    Can FrameMaker 9 logically place tables and anchored frames into the correct reading order? How do I adjust these settings?
    Thanks in advance!

    As mentioned above, tables and anchored frames are inserted into thier own paragraph style "Frame". The paragraph style "Frame" is tagged. To my knowledge, there are no options for tagging or not tagging tables or anchored frames.
    Regardless of which paragraph type the table or anchor frame is inserted into, and what that paragraphs tagging settings are, it is still last in the reading order.
    I've tried a variety of options: tagging the "Frame" paragraph style as a sibling, child, and parent of my other paragraphs; I've even tried omitting it from the reading order. None of these options present anchored frames (and tables) in the logical reading order.
    Even images that are inline (within a paragraph; not in thier own paragraph) are not being read as part of the paragraph.  Inline images get skipped over by screen readers and get read at the end of the page, which makes no sense whatsoever.
    All tables and images end up at the end of the reading order (after ALL paragraphs) regardless of the tagging settings.
    Refer to my previous screenshot for a clear diagram of what is happening to the reading order. Each of those anchors is in it's own paragraph style. I want tables and anchored frames to be sequential in the reading order along with paragraphs. (1,2,3,4,5,6 not 1,4,2,5,3,6.)
    I'm using the Tags tab of the "PDF Setup" dialog to adjust these settings. Is there somewhere else I should be making changes to the reading order?
    This is a bit disturbing because FrameMaker touts creating accessible documents and this severe reading order issue impares my ability to do so. I would not consider documents that jump around the page in an illlogical, fixed order, to be accessible. I'm very suprised that no one else has encountered this issue (at least that I can find...)

Maybe you are looking for

  • NW BPM start event not calling

    Hi Experts, I have deployed below process instance with start event having message trigger - synchronous service interface. While testing from soapUI it gives error like: <SOAP:Fault>          <faultcode>SOAP:Server</faultcode>          <faultstring>

  • MOVED: Overclocking Problem MSI P7N Platnium

    This topic has been moved to Overclockers & Modding Corner. https://forum-en.msi.com/index.php?topic=140044.0

  • Joining tables from two different databases

    Hi, I am trying to join W_DAY_D from 1 database to another 2 database to the fact table . The datatype for CALENDER _DTis (DATE) from W_DAY_D  and the Create date from fact table is TIMESTAMP . I changed the the datatype in the phyiscal layer for CRE

  • I paid for Cretive Cloud but opening a photo by Photoshop  I learn I'm on a 30 days' trial. What now?

    I paid 30 NIS (New Israel Shekel)/ month for Creative Cloud, but opening a photo by Photoshop I learn I'm ona 30 days' trial

  • Cannot do a Restore on my iPod

    Trying to reset my iPod. Tried doing a Restore from inside iTunes (7.3.1) and get an error message stating that it cannot do a Restore because some files are being used by another program. I noticed that I get an icon for a removable drive in Compute