[JS] Anchor object to overset text

Is there any way to anchor a graphicLine or textFrame to overset text without using app.cut() and app.paste()?

I wasn't clear enough. I have an existing textFrame or graphicLine that is not anchored and I would like to anchor it to text that is overset. The reason is because I need to set the geometricBounds, so I was thinking I could set it and then anchor it, but I don't see any way except for app.cut().
Ah, I see now Harbs did give a solution. First anchor it to the begining of the story and then move it to the overset insertionPoint. Perfect!

Similar Messages

  • Is it possible to select an anchored object in a text frame in InDesign in a script?

    I would like to know if it is possible to write a script to select an anchored object in a text frame. All the scripts I have found so far do not work on anchored object.

    Check out this thread.

  • Anchored Objects Stuck in Text Frame

    Hello,
    I have updated from CS4 to CS6 and am now having a problem with being able to edit anchored objects from a file that I used to work off of in the CS4 version.
    I am working on a catalog that has product assessory boxes that are made up of images and text. In CS4, I created the accessory boxes, grouped all the items and pasted it in the text frame that held the text and photos of other products. I used to be able to edit the text or cut and paste the accessory box out of the text frame it was placed into. Now since I have upgraded to CS6 I cannot edit them at all, when I try to select the box with the selction tool or highlight the text with the type tool nothing will happen. The only thing I can do is hightlight the whole box and cut and paste it into another text frame I create, which doesnt help because I still cannot edit them.
    In CS6, I have created an accessory box from scratch, and followed the same process as I have before and I can edit and select like I used to do. The problem only seems to come with the accessory boxes I have created in CS4.
    This is a pretty large catalog, and will take a lot of time to recreate all the accessory boxes, so any suggestion to help fix the problem will be greatly appriciated.
    Thank you!

    Long shot, but go to the application preferences and uncheck the box in the General section that says Prevent Selection of Locked Objects.

  • Anchor Object without Modifying Text

    Short:
    Is there a way to place objects and attach their location to a particular numbered paragraph, without using anchored objects, i.e., is it possible ot make an anchored object without a inserting an anchor into the text?
    Long:
    I am currently assembling a document where the text is placed from a Microsoft Word document and figures will be placed from a variety of sources (.pdf exports of TeX equations, .ai figures, etc.).
    I have explored anchored objects to some extent, and they provide all the functionality I need, with one exception.
    I would very much like to be able to insert figures into my indesign project and be able to update my text in Microsoft Word without losing the insertion points. As it is now, when I update my linked Word file, the anchors are removed from the text.
    One approach I considered was to complete the majority of the text in Word, then place the text into InDesign, break the link, add my anchors, and complete revisions in InDesign. Unfortunately, this approach will not work, as I am using a reference manager in the text, and reordering/adding/removing references would become exceedingly tedious in a document with dozens of references and nearly 100 citations to those references.
    Thanks so much for your help in advance!

    Short: No.  Longer:  Perhaps you should just put the objects on the page, or pasteboard, for now, and do the anchoring when editing is done.

  • At my wits end: Placing anchored object inline with text & wrap

    Granted I never learned InDesign the way I should.  Once upon a time I fared well with Aldus Pagemaker.  But I've just spent the last two hours trying to resolve a massive gap in my knowledge and I can't do it.  I'm exasperated and desperate for help.
    What I want to do:  I have a tech manual with lots of text and need to place graphic objects in a way that the text will wrap around the object and if I need to edit the text, the graphic will move with where I inserted the graphic.
    What happens:
    1.  I have a text frame with text.  I place the cursor at the beginning of the paragraph and click File> Place, thereafter choosing a graphic.
    2.  Using the selection tool, I click the graphic and then click the icon "wrap around bounding box".
    3.  The text shifts a teeny bit but does not wrap around the object.
    4.  Object is, however, inline/anchored, with text.
    OR
    1.  With nothing selected I click File> Place, thereafter choosing  a graphic.
    2.  I place the graphic on the lower part of the page over a blank space.
    3.  I move the graphic over the text and then click the icon "wrap around bounding box".
    4.  The text flows but when I edit the text, it does not flow around the graphic.
    Conclusion:
    I am retarded.  I even went through Lynda's example here:  http://www.adobe.com/designcenter/video_workshop/?id=vid0073   I was able to place my object in her document and watch the text flow around the text wrapped graphic.
    I read the help docs (I'm a big fan of reading).
    The only thing I can think of is I've set my text box up wrong or I have no idea.  I'm so frustrated I am seriously almost in tears.
    My example document (I'm under an NDA and can't release my original document, but I duplicated what I've done in the previous one) is here for anyone who can tell me what I've done wrong.  Thank you kindly.
    http://www.xandria.ca/test01.indd

    Alrighty, this is bizarre.  I couldn't leave well enough alone and I'm still trying to hammer this one out.  But I just followed my first method described in the original message and then...
    I clicked and dragged the edge of my graphic and the text began to flow around it and it moves with the text.
    What on earth?
    While I can do this for each image, I'd rather not.  What am I still doing wrong, although I seem to have a half baked workaround.
    Cheers.

  • Images as anchored objects in text

    I use CS4 on a Mac. I'm working on a book with photos of my art in the text. Before I've used Place to insert all images. (I use Picasa to straighten and crop my photos, they are all jpgs in high resolution, the photos are in a separate folder on my Mac).
    To make the pictures anchored objects in-line, I first place the graphic, then according to the instructions I cut, then paste in text, select image, then set the anchored object above the text etc.
    http://www.adobe.com/designcenter/video_workshop/?id=vid0073
    My question is what happens to the image when you cut and paste. Does it retain it's placed format, like file size and resolution? It seems my InDesign file should be bigger with the added images.
    Should I be worried?

    When use File>Place to insert an image to InDesign - InDesign creates a low-res thumbnail to act as a "placeholder" to the original image.
    It's very cumbersome on the computer when viewing the images in full resolution within InDesign. As it could be displaying 10mb for each image and 10 images would 100 mb per page, quite a lot to render; for example.
    Anchoring objects has no bearing on the file size (well maybe a little).
    The file size and resolution is not affected when you place an image. But the Resolution is affected if you SCALE the image any amount.
    If you go to the Window>Info panel and select an image then you can see TWO options ACTUAL and EFFECTIVE PPI.
    Actual refers to what the original PPI of the image is (ppi = pixels per inch and refers to resolution)
    And Effective shows the the PPI after the image has been scaled.
    For example if you place a 72 ppi image and scale it 24% it will now be Effectively 300 ppi (100/24)*72=300
    For printing you should ensure that the image quality is 300 ppi (it's a general rule of thumb and it's not entirely accurate but that's what most printing places operate at as a standard).
    For the record - you should resave images as JPG if you make ANY alteration to them (as a rule of thumb) saving as JPG over and over can add jpeg artifacts to the image which will degrade the image over time, as jpeg is a lossy format (information is removed with each save). A better way would be to save as TIFF as this is a LOSSLESS format - in that no data is removed upon saving.
    I wouldn't recommend Picassa for your image editing. You should get Photohsop or failing that a free open source program like GIMP.

  • Anchored objects and first line in InDesign CS3

    Hi, thanks for reading. I know that when you want an achored object at the beginning of a text block to all push away ("wrap around") the text, including the first line, you have to put it into a line before that.
    What I don't like about it, is that I then have an empty first line and everything else is pushed one line down. Now I could move the whole textbox up, to fit to the rest of my layout, but that's not the way one should work in InDesign. Is there a way to get around the first line?

    T-
    Select the anchored object and put text wrap on it. Then select the anchored object and go to Object/Anchored Object/Options. Select Position: Inline and set the Y Offset to the negative number that aligns your text where you want it.

  • Callouts and anchored objects - there must be a better way to do this

    I've spent a lot of time in the last six months rebuilding PDF files in InDesign. It's part of my ordinary responsibilities, but I'm doing a lot more of it for some reason. Because I'm sending the text of these rebuild documents out for translation, I like to keep all of the text in a single story. It really helps to have the text in "logical order," I think; when I'm prepping a trifold brochure, I try pretty hard to make sure that the order in which the readers will read the text is duplicated in the flow of the story throughout the ID document.
    So, I'm rebuilding a manual that has a 3-column format on lettersize paper, and it's full of callouts. Chock full of 'em. They're not pull quotes, either; each of these things has unique text. Keeping in mind that I'd like the text in these callouts to remain in the same position in the text once I've linked all the stories and exported an RTF for translation, what's the best way to handle them? What I've been doing is inserting an emptly stroked frame as an anchored object, sized and positioned to sit above the text that is supposed to be called out. When my translations come back, they're always longer than the source document, so as I crawl through the text, I resize the anchored frames to match the size and position of the newly expanded translated text, and then nudge them into place with the keyboard.
    There Has To Be a Better Way.
    There is a better way, right? I'm not actually too sure. If I want to actually fill those anchored frames with text, I can't thread them into the story. I suppose that I could just thread the callout frames and assign two RTFs for translation instead of one, but then the "logical order" of my text is thrown out the window. So, I'm down to asking myself "what's more important? reduction of formatting time or maintenance of the flow of the story?" If there's something I'm missing that would let me dodge this decision, I'd love to hear about it. The only thing I can think of would work like this:
    1) Duplicate callout text in the story with a custom swatch "Invisible"
    2) Create "CalloutText" parastyle with "Invisible" swatch and apply it to callout text
    3) Insert anchor for anchored frame immediately before the CalloutText content
    4) Send it out for translation
    5) While I'm waiting for it to come back, write a script that would (dunno if this is possible):
       a) Step through the main story looking for any instance of CalloutText
       b) Copy one continguous instance of that style to the clipboard
       c) Look back in the story for the first anchor preceeding the instance of CalloutText
       d) Fill the anchored object with the text from the clipboard (this is where I'm really clueless)
       e) Apply a new parastyle to the text in the callout
       f) Continue stepping through the story looking for further instances of CalloutText
    If this really is the only decent solution, I'll just head over to the Scripting forum for some help with d). Can any of you make other suggestions?

    In-Tools.com wrote:
    The use of Side Heads saves weeks of manual labor.
    Yup, Harbs, that is exactly what I was describing. If I use the Side Heads plugin to set up a job, will my clients get a missing plug-in warning when they open up the INDD? Will roundtripping through INX strip the plugin but leave the text in the callout? (My clients don't care if the logical flow of the story is broken; it's just me.)
    I'm just curious; seems like a pretty obvious purchase to me. I'll probably try to script a solution anyways, after I buy the plugin; that way I get to learn about handling anchored objects in scripts AND deliver the job on time!

  • Anchored objects disappeared

    My anchored objects inserted into text have all disappeared. All layers are on. The text is there but the objects are not. How can I get them back?

    All layers are on
    @Annie – this is not relevant, because anchored objects ("inline" or "custom" makes no difference) are tied to the layer of their parent text frame.
    1. The objects could be "hidden".
    There is a contriol for that to bring back all hidden objects on a spread:
    alt + cmd + 3 (for InDesign on Mac OSX)
    2. The objects could be set to "No Printing" and you look at your document with the "View / Overprint Preview" checked. You can control the "No Printing" in the Attributes Panel.
    3. A combination of 1. and 2.
    4. The objects are removed…
    Could happen with a TEXT or GREP search/replace action that happens to include all anchor characters in your text.
    5. …
    Uwe

  • How to specify character style to anchored objects markers depending on the objects formats?

    I have a long document contains much of anchored text frames with custom positions and want to delete them by aplying character styles to their markers.

    Create a new character style to apply it. And change the character style name in this code to yours, then execute it.
    main ();
    function main (){
        app.findGrepPreferences = NothingEnum.NOTHING;
        app.findGrepPreferences.findWhat = "~a";
        var objectsArray = app.activeDocument.findGrep();
        for (var c = 0; c < objectsArray.length; c++) {
            if (objectsArray[c].textFrames.length > 0) //The anchored object is a text frame
                var targetTextFrame = objectsArray[c].textFrames.item(0);
                var textFramePosition = targetTextFrame.anchoredObjectSettings.anchoredPosition;
                if (textFramePosition == AnchorPosition.ANCHORED) // the object have custom position
                    //Create a new charater style and change the character style name to yours. 
                    objectsArray[c].appliedCharacterStyle = app.activeDocument.characterStyles.itemByName("Delete");
    Then make a GREP search for this character style, and if you want delete them all by Change All button.

  • Consecutive footnotes within anchored objects

    I am working on a long indesign document with footnotes and anchored objects. The anchored objects have both text and graphics within them and some of them have footnotes as well. I’m having trouble figuring out how to make the footnotes within the anchored objects number consecutively with the rest of the footnotes within the text. Can anyone help?

    This is a good reason to add voices to request that footnote numbers be accessible to cross-references, so that cross-references to the hidden footnotes update without manual effort.
    For those who don't know, the feature request and bug report is here: Adobe - Feature Request/Bug Report Form
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    [Jongware] wrote:
    It's not possible. Footnotes are counted per continuous story; an anchored text frame is not considered part of it.
    When I NEED this, I place the footnote ... somewhere else on the page with the anchored object! You can hide the footnote marker by setting its color to [None], and type a regular superscript number inside the box. Pretty lame, and a Little Hell if your text reflows.

  • CS4 Linking Text Boxes Together in Anchored Objects?

    Hi. Using InDesign CS4 I have a Anchored Object that I would like to link part of it to the next one in the text frame. Example: I have grouped together a text box, a box with a placed UPC from Illustrator and another text box stacked on top of each other, all lined up. I group this and place it in a text box so I can set these at different places along a 29" document. When I have overset text, in the top box for example, I see the + sign but can't grab it to try to link the text to the next text box in the Anchored or grouped object. All I can do it change the size of the box - even when holding down the command key on the Mac with the text too enabled. I am setting it up this way so all three boxes stay together when positioning on pages. I have multiple rows of these so it makes it easier to modify. If I take the grouped set out of the text box so it's by itself I can grab the overset text. I am trying to link text boxes so it's easier and faster to flow in text from another program. Thanks.
    Pat

    OK, I will try to get the whole page later. I want to keep what you see in the screen shot - one of the grouped objects - together as it goes across the page. So the 9232554 text and all bellow that would stay grouped together when I tab it over to line up to a certain spot on the page. This is placed in a text box that runs horizonal on the page, about 28"  across. I also wanted to link the 9232554 box to the 9232729 box which is just a duplicate of the group of text and UPC code before it. But from what you say, and what I tried to do, I can't. Even when all the anchored object groups are in the same long text thread. I tried not grouping  each section - the UPC code sandwiched by the text boxes, but could not place them in the long text box when not grouped togther.
    I wanted to flow in the text to all 14 of these grouped or anchored objects, say all top boxes, in one 'paste' instead of doing each one at a time but keeping the 3 elements you see togther at all times.
    Pat

  • Text wrap in anchored objects

    In order to place text boxes relative to the spine, I have placed them as anchored objects.
    But now, these text frames do not respect text wrap setting from objects outside of the anchored object.
    I have made sure that ignore text wrap in text frame options is not checked.
    Is this a bug?
    And does anyone know a workaround?

    In order to make my design indifferent to later added pages, I have placed all text frames and graphic placeholders as anchored objects, positioning them relative to spine.
    When I now place an object on top of such an anchored text frame, text wrap is not working, even if i overide the master page item.
    The only work around I have found is to copy the respective text frame and make the original master page item unvisible.
    Is there not another way to to this?
    For me, the best would be another way of placing text and graphic frames relative to spine.
    Bus as soon as one overrides the master page item, the object is not placed anymore relative to spine if another page is inserted.

  • CS4 text wrap over anchored object

    Every time I place an anchored object (doesn't matter if it's graphic or text frame) and apply text wrap, Indesign freezes permanently and only solution is killing it via task manager.
    I opened CS3 file with anchored objects w/ txt wrap and the same freeze happens when trying to move, delete or apply different wrap settings to object.
    It never happened in previous version of ID on my machine.
    Any solution to this problem? Thanks.
    My PC conf.:
    AMD x2 2.7
    2GB RAM
    Vista 32bit

    The first thing to try is replacing your preferences.
    http://livedocs.adobe.com/en_US/InDesign/5.0/help.html?content=WSa285fff53dea4f86173837510 01ea8cb3f-6d1e.html

  • Text to anchored objects

    Hi,
    Somehow I think my question is quite simple to answer, but I've run out of ideas right now...
    Is it possible to place text in an anchord object and remove it from it's current story in one action? The words are all labeled (xml), but they need to be placed outside the textframe they are in.
    Right now the only way I see that happening is to copy-paste every single word in it's anchored object (which is also placed on the right place by hand...)
    I hope you can help me! Anyhow, thanks for any suggestion...
    Maaike

    It's not free, but this'll do what you want: http://in-tools.com/plugin.php?p=18
    If you only need it for a one-off job, you can use it in demo mode. (It's fully functional for 30 days.) Of course, I'd appreciate if you'd buy it though!
    Harbs

Maybe you are looking for