Sending anchored objects to back (Indesign CS3)

I would like to create a graphic, make it inline, move it over type and send to back so that the type appears on top.
No problem until I anchor it.
Thanks for any help.

Can it be done this way, if so what is the correct syntax. If not than I'm clueless on how to do it. so some help would be greatly appreciated.No it cant, but why?
If any additional info is needed just post and I'll get it to you!What problems have you encountered with the code you are trying? Any errors you want to share?
Also, 1 of the reason to why it wont work is because your method dealCard(), doesnt return anything, so how do you expect to add that to and ArrayList?
There are other faults that can be spotted as well. But you need to post an complete runnable program, that you can work with and share. Just showing this little code, without any error messages, aint gonna help much in localizing the errors and faults in the code.
Edited by: prigas on Apr 18, 2009 1:40 PM <-- Needs a spelling course.

Similar Messages

  • [JS][CS3-CS5] anchored objects/inline back to text

    g'day there.
    been handed a reformatting job where the client has supplied text in word with additional textframes (they have made callouts next to their body text), meaning when the text is imported into indesign, the text has hundreds of anchored objects containing the callouts. is it possible to take these anchored objects and convert them back into the actual main textframe? ATM, the only way to do this would be to cut and paste.
    i have done a search on the forums and elsewhere to remedy this and there are plenty of threads advising on how to take text and make anchored objects out of them, but what i want to do is the reverse.
    thank you.
    colly

    i feel strange answering my own question, but i stumbled across this older applescript and it seemed to do the trick, so thought i'd put it out there.
    tell application "InDesign CS5"
        tell document 1
          set thetextframes to text frames
          repeat with aframe in thetextframes
             set theCount to count of (text frames of aframe)
             tell aframe
                 repeat with i from theCount to 1 by -1
                   set boxContents to paragraphs of text frame i of aframe as string
                   set contents of first insertion point of parent of text frame i to boxContents
                   delete text frame i of aframe
                 end repeat
             end tell
          end repeat
       end tell
    end tell
    full credit to peter kincaid who wrote the script. all i did to make it work was just to tell the application CS5 rather than CS1 which was in the original script.
    the actual site i found the script at was:
    http://olivier.berquin.free.fr/indesign/indesign_cs1.html

  • New technique to place multiple anchored objects in InDesign story

    Hello,
    For a while I have been trying to figure out how to insert multiple anchored objects into an Indesign story. As far as I can tell, you cannot copy multiple objects that have already been placed in a document (such as a multi-page pdf) into an InDesign story, but must copy and paste them one-by-one into the story. This is a problem for a project I am working on where I want to have a large number of 340x52 pt pdfs to flow throughout a document in a master text frame interspersed with text.
    I have now found a solution for this issue that I thought I would share in case it would be helpful for anyone. It utilizes Automator actions for Mac OS X and Microsoft Word 2011 [2008 may work also, but I don't have a copy of that to test]; I am not good with scripting but perhaps similar solutions could be found for other systems and programs.
    1. If you want to place a multipage pdf within a text frame, first it into individual files for each page (with Acrobat Pro or pdftk or something similiar).
    2. Create an Automator service or program with the action "Create New Word Document". You can also use another automator action to save the document, or save it manually (to change the filename). In the finder, select the items you want, then run the service or drag them into the Automator program you have created.
    3. Place the word document into your InDesign story. Your items will now be anchored objects ordered in your text frame as they were in the finder.
    Please let me know if this is helpful or if anyone has suggestions for doing this process is a more efficient way. I am not sure, but it may be the case that this approach would only work on Macs, as I gather from this thread.

    I might note that I am using InDesign CS 5, and importing from a document stored in docx format.

  • Grouping Anchored Objects

    I have an anchored graphic image (using Object, Anchored Object, Insert) and need to add a text box under the graphic and a rectangle frame with a stroke on top of the image to highlight a portion of the image.
    What I would love to do is anchor the graphic image and then group the text box and graphic rectangle to the anchored graphic and have all move together. NO LUCK, I guess you cannot select and group multiple objects if one of them is an anchored object.
    The work arounds are
    1) Anchor EACH of the three objects which works fine but takes a long time.
    2) Group the objects and paste them "inline"
    3) Group the objects and manually move them when your text moves.
    Is there any way to group, attach or link objects to an anchored object so all of them move with the anchored object?
    Have InDesign 3 and 2 (same results)

    Right clicking on the anchored graphic and using the "Paste Into" option to paste the three grouped objects worked wonderfully. Thank you so much.

  • Release Anchored Objects

    Hi,
    Does anyone knows about a scrip able to release all the anchored objects in a InDesign 5.5 document?
    Thank you in advance
    Maria

    Hi Maria,
    Please use the below JS code, But the code is your requirement has been solved, i feel this way is big round circle. So any one make short your requirement after my script to edit or modify.
    var myDoc = app.activeDocument;
    var myPGItem = myDoc.allPageItems;
    for(j=0; j<myPGItem.length; j++){
        var myAncObj = myPGItem[j];
        if(myAncObj.parent.constructor.name=="Character"){
            if(myAncObj.constructor.name =="TextFrame" || myAncObj.constructor.name =="Rectangle" || myAncObj.constructor.name =="Group"){
                myAncObj.anchoredObjectSettings.releaseAnchoredObject();
    thx
    csm_phil

  • 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.

  • CS3 - Auto Anchored objects

    Hi all,
    I would like to speed up my workflow enormously. I have a very repetitive thing that I need to speed up somehow...
    I receive supplied text that requires formatting. I have just about everything automated except inserting graphics into certain locations. I currently insert an object as an anchored object one by one wherever it needs to be put..
    The things is, all the graphic objects are identical (the exact same file), and they appear hundreds of time throughout the document.
    The objects are to all behave exactly the same way so a style could be set up - it's just the matter of placing the object hundreds of times every time I get new text to update the file with. So at the moment, I am spending way way way too much time individually placing each object one by one.
    I'm not a highly experienced ID user, so I'm hoping I'm just missing something here. I've scoured tutorials and help and the web to no avail. Hence my post here.
    Currently, they put the text code "grphc" where they want the little picture in the text supplied to me. I then do a search for "grphc" in the find function. It finds it, I then select this code and place the inline object. I then go back to the find function to show me the next code. It takes me straight to it, I then repeat the process of selecting the text code, place the object, find the next code, select the code, place the object, find the next code, select the text, place the object, find the next code, select it, place the thing, find the next, select it, place it... and so on and so on till my brain hurts through a very very repetitive operation. It hurts!.
    Please help me automate this very time consuming and brain numbing repetitive action...
    Like I said, I'm not a heavily experienced user of InDesign, so I'm hoping that I am simply missing something. (I can only hope)
    I'm hoping that a very easy, almost 'one click' fix can replace the special code with this little grpahic.
    I mean, I can find all occurrences of a given text in the document and replace it all in one hit with some other text, but it seems to not allow to replace text with a graphic.
    please help. even if the answer is in front of my face & cannot see it..
    Thanks very much in advance.
    Graeme.

    WOW!!!,
    Thankyou Dave, that works a treat.
    I must admit though, I am surprised that with the amount of power ID has with this Find/Replace function that it doesn't have the ability to find and replace with a graphic.
    Maybe I should put a wish list to ID to add this find text and replace with an object feature...
    Graeme.

  • [JS CS3] Releasing Anchored Objects

    Hello,
    The following script places a libray item as an anchored object...
    var myDoc = app.documents[0];
    var myFrame = app.documents[0].textFrames.item("myTarget");
    var myInsertPoint=myFrame.parentStory.paragraphs.item(0).insertionPoints.item(0)
    var myLibraryItem=app.libraries[0].assets[0]; myFrame=myLibraryItem.placeAsset(myInsertPoint);
    with(myFrame[0].anchoredObjectSettings){
    anchoredPosition = AnchorPosition.anchored;
    anchorPoint = AnchorPoint.topLeftAnchor;
    horizontalReferencePoint = AnchoredRelativeTo.anchorLocation;
    horizontalAlignment = HorizontalAlignment.leftAlign;
    anchorXoffset = 0;
    anchorYoffset = 0;
    How do I now release my anchored library item and then send it behind the text in the text frame "myTarget" ?
    Thanks
    Simon Kemp

    Thanks Harbs, this has made things simpler.
    I have heard your name mentioned several times today in the InDesign Secrets podcast (and Dave's too).
    I am almost there with the script (my scripting is clumsy but I can usually get things to work mainly with help from this forum.
    My last problem is that I am re-applying geometric bounds to the released anchored object as it is still being referenced as myAnchoredFrame.
    Is it possible to release ALL the anchored objects in one go? Or how do I dump the reference to myAnchoredFrame once it has been released?
    var myTextFrame = app.documents[0].textFrames.item("myTarget");
    var myParagraphs = myTextFrame.paragraphs
    for (var i = 0; i <= myParagraphs.length-1; i++) {
    var nLines = myParagraphs.item(i).lines.length;
    var myAnchoredFrame = myTextFrame.paragraphs.item(i).insertionPoints.item(0).textFrames.add();
    var myHeight = nLines*myParagraphs[i].leading*.353
    myAnchoredFrame.geometricBounds = [0, 0, myHeight, (myTextFrame.geometricBounds[3]-myTextFrame.geometricBounds[1])];
    myAnchoredFrame.fillColor = "Gradient";
    myAnchoredFrame.gradientFillAngle = 90;
    myTextFrame.texts.item(0).recompose;
    with(myAnchoredFrame.anchoredObjectSettings){
    anchoredPosition = AnchorPosition.anchored;
    anchorPoint = AnchorPoint.topLeftAnchor;
    horizontalReferencePoint = AnchoredRelativeTo.anchorLocation;
    horizontalAlignment = HorizontalAlignment.leftAlign;
    verticalReferencePoint = VerticallyRelativeTo.capheight;
    verticalAlignment = VerticalAlignment.topAlign;
    anchorXoffset = 0;
    anchorYoffset = -1;
    pinPosition = false
    myAnchoredFrame.anchoredObjectSettings.releaseAnchoredObject ()
    myAnchoredFrame.sendToBack();
    Thanks again
    Simon Kemp

  • I bought a Mac PowerBook in 2008. It came with InDesign CS3. I did not use it. My computer was stolen in 2014. I had backed up the hard drive. I reinstalled on my new Mac laptop. I want to use the CS3 now. It will not download or install. What do I do?

    I bought a Mac PowerBook in 2008. It came with InDesign CS3. I did not use it. My computer was stolen in 2014. I had backed up the hard drive. I reinstalled on my new Mac laptop. I want to use the CS3 now. It will not download or install. What do I do?

    From where are you trying to download it?

  • InDesign CS3 - Is it possible to thread anchored text across pages?

    New to InDesign. Just learned about anchored objects. Have anchored text that is longer than the text it refers to. Text exists in the first column and would like for text to thread to the first column on the next page.

    I don't think so. As you have it now, the callout stays with the line the object is anchored to, and it doesn't break and continue at the end of a page -- which is a problem when your callout line is near or at the bottom of the page.
    I don't suppose you could create separate anchored frames for each of the text lines in the callout ... It would work for a while, but you would run into problems when editing -- you cannot easily edit a single callout as the frames are not threaded, and if two of these objects end up on the same line in the original text thread, they would appear on top of eachother.
    Any of the other guys & gals out there with a good idea?

  • Anchoring objects to text in InDesign CS5.0

    Hi,
    I'm trying to convert a heavily styled book with lots of photos and charts to Kindle. When I export to Kindle, it's a mess. Is it possible to anchor objects to text in CS5? I know CS5.5 can do it, but I'm having a hard time figuring it out in CS5.
    Any helpful hints for making this conversion as easy as possible ... and without knowing any HTML would be greatly appreciated.
    Thanks!

    I highly recommend Elizabeth Castro's ebook to learn the basics of creating EPUB files—"EPUB Straight to the Point"
    Formatting ebooks - EPUB Straight to the Point
    Here is how she suggests you do it in InDesign CS5:
    Place the cursor in the flow of your book where you want to illustration to go (at the beginning of a paragraph).
    Press Return to create a separate paragraph for the illustration
    Apply an Illustration paragraph style. She suggests setting autoleading so the paragraph expands to the height of the illustration.
    Choose File > Place to place the illustration in that paragraph.
    If you need a caption, press return to create a new paragraph and apply the Caption style.

  • Help...anchored objects in CS4 freezes Indesign

    I was really excited to use anchored objects in a recent project where I wanted to insert a bunch of callout text boxes peppered throughout the document layout that would reflow with it's neighboring text as I made changes.
    When I had about 4 text boxes placed, InDesign CS4 would freeze with the spinning rainbow wait cursor spinning forever. It would freeze just as I started entering settings in the "custom" anchored object dialogue window.
    What am I doing wrong? Or is this a bug?
    Thanks for any advice or suggestions.
    grafxgirly

    I've been working on a file I created for 4 hours.  Saved properly many times, reopened and resaved with no problems.  Now it won't open. 
    Every other file I have opens fine, but this one just freezes up the program.   I tried recovering, deleting the recovery file, etc....
    It sounds like Peter has it hand, but some possibilities are Preflight and SING; you can try disabling them both. What OS?
    What version of InDesign? 6.0.6?

  • Converting object libraries from indesign 2.0 to CS3

    Hi !
    I work for a company which needs to convert the object libraries created on Indesign 2.0
    to work on Indesign CS3. Is there a way to do that? Object libraries are compatible within Indesign versions?
    regards
    Cicero Lira

    I created an object library on Indesign 2.0 and did the conversion to work on CS3. But the program crashes during it. I had success when i tried to open the library on Indesign CS.
    It works perfectly. But, when did the conversion from CS to CS3 it occurred the same problem ( the crash). Í downloaded the CS3 updates ( I'm using 5.0.3 version) and my OS is windows XP.

  • Back-saving Adobe CC / CS6 InDesign files for use in Adobe InDesign CS3?

    I am currently running Adobe CS3 on a Macintosh computer / OS. Is it possible to back-save Adobe CC / CS6 InDesign files for use in Adobe InDesign CS3?

    @kc.k – You will need InDesign CS4 for that.
    CS4 is the only version, that can export/import both IDML and INX exchange formats.
    And you need an exported INX file (from InDesign CS4) that can open your exported IDML file from CS6, CC or CC-2014.
    Since you are still running CS3 I'd suggest you downloading a 30days version of CS4 and do the conversion:
    Download Adobe CS4 and CS3 Free Trials Here (incl. After Effects) | ProDesignTools
    Read the Note about downloading very well before trying !!
    Uwe

  • Un Anchoring objects in Indesign CS2 Using Apple script

    Hi all,
    I need to Un achor the object. I have the script which will un anchor the Text Frames but in case of
    Rectangle i'm not able to unachor. My script will find out the Anchrored Text Frames and place its
    contents to its position and then delete the frames. I can find out the Anchored Rectangles but i
    cannot get its contents. Can anyone help me out to do this?
    Thanks,
    Jacintha

    Hi,
    I can select the page item ,If i ask for page items and its parent. but not getting its contents.
    -- aframe is text frames in document
    set Conts to paragraphs of page item i of aframe
    set contents of first insertion point of parent of page item i to Conts
    I need to get the contents of anchoring objects and place it in its position and then delete the anchoring object. Tried working on above code but not able to get its contents. Any solution?

Maybe you are looking for

  • Acpi on Samsung 355V4C | brightness

    I tried to change backlight variety of ways. But nothing works. Ways have been tried: Set with acpi by writing file '/sys/class/backlight/acpi_video0/brightness' like light utility. Set directly by setpci. Many ways from [SOLVED] topics in the Intern

  • I can't write to a external disk in my MacBook Air

    Hi, I have a (Samsung M3 Station External Hard drive (1.5T) ) and i want to use it  in my MacBook Air, but i'm having some problems with it. The MACBook Air recognizes de disk and I can read the information but is impossible to copy or  write  any in

  • Email pdf in body and as attachment

    I'm currently using doc.mailDoc() to send a pdf via e-mail as an attachment, but need to know if it's possible to include the completed form in the body of the e-mail as well. This way the recipient is able to view the completed form in their Outlook

  • How to create a category/sucategory list with spry data

    I am trying to create a a menu list that looks like this using spry: Category Name subcategory1 subcategory2 subcategory3 my mysql query is: SELECT myp_category_cat.idmnu_cat, myp_category_cat.category_cat, myp_subcat_sct.subcat_sct, myp_subcat_sct.i

  • Dual GWIA agents

    I am running GW7.03HP1 on a NetWare 6.5 server (MTA, POA, GWIA & WebAccess). I created a second GW domain and installed MTA & GWIA on a SLES 10 SP3 server. On the GroupWise System, I set the SECDOM.GWIA2 as the Internet Agent for outbound SMTP/MIME a