How to move xmlElement to Footnote

Hi All,
I have tried this
var tmpfootnote=footnoteref[fref].insertionPoints.item(-1).footnotes.add();
footnotetext[fele].texts[0].move(LocationOptions.after, tmpfootnote.insertionPoints[tmpfootnote.insertionPoints.length-1]);
This code will move only text. but while exporting it is problem.
Now i want to move xmlElement to Footnote.
Regards,
Sudar.

Got it!
In case anyone is interested
The for bit should be
  for (i=noteStart; i< myNotes.length; i++) {
         myNotes[i].texts[0].move (LocationOptions.before, myNotes[i-1].insertionPoints[0]);
In fact it was this thread http://forums.adobe.com/thread/968519 that set me on the right path so credit is due tu Peter Kahrel.

Similar Messages

  • How to move some xml element and its content to a new frame

    Hi All,
    How to move some xml element and its content to a new frame.

    Hi Chinnadk,
    Sorry my code its comment some lines. Now only I check the forum thread, you just try one more time.
    #target InDesign;
    #include "/Program Files (x86)/Adobe/Adobe InDesign CS5.5/Scripts/XML Rules/glue code.jsx"
    var myDoc = app.activeDocument;
    //____________________ XML RULE SET
    var myRuleSet = new Array (new margintag);
    with(myDoc){
        var elements = xmlElements;
        __processRuleSet(elements.item(0), myRuleSet);
    function margintag(){
        this.name = "margintag";
        //this.xpath = "//margintag[@type='mn2']";
        this.xpath = "//margintag";
        this.apply = function(myElement, myRuleProcessor){
            with(myElement){
                app.select(myElement);
                try{
                    var myPrePara = app.selection[0].paragraphs[-1].parentTextFrames[0].paragraphs.previousItem(app.selection[0].paragraphs[-1]);
                    if(myPrePara.characters[-1].contents=="\r"){
                        myPrePara.characters[-1].remove();
                    var myTextframe = myElement.placeIntoInlineFrame(["7p9","6p"]);
                    myTextframe.appliedObjectStyle= myDoc.objectStyles.item("MN1");
                    myTextframe.fit(FitOptions.FRAME_TO_CONTENT);
                    myTextframe.parentStory.paragraphs.everyItem().appliedParagraphStyle = app.activeDocument.paragraphStyles.itemByName("MN1");
                    }catch(e){}
                app.selection = null;
            return true;
    thx,
    csm_phil

  • How to move video inside LR 4?

    Hi
    Could anyone please explain to  me how to move a video, from one folder to another inside LR 4?
    I've moved pictures from one folder to another inside LR 4 several times before, I just marked the pics I wanted to move, and draged them to the desired folder, but I can't do it with these videos........
    The arrow in the left side , in folders, pointing to the folder I wish to move, is greyed out, as if something is wrong, can't figure out why.....
    If I right click on the selected videos, there's no "move" option.......
    kindly
    Jan

    Hi Victoria
    Thx for your reply :-)
    Actually I'm not able to drag and drop any of my video files anymore....must be something "newbie" stuff :/
    I've attached a screenshot, and the videos I want to move, are inside the ¨DIGITAL....¨ folder,  but as said, I'm not able to move them anywhere...... Could it be that I've ¨locked¨something when messing around in LR 4??
    The Greyed out arrow is normal, as I see it now...
    what could I possible be doing wrong here?
    Kindly
    Jan

  • How to move a button in gird layout(16-block game)?

    I am designing a 16-block puzzel game and don't have any idea about how to move buttons in a grid on mouse click.

    This is the code now me help me to solve this problem.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class Puzzel extends JFrame {
              JButton[] arr = new JButton[15];
              String[] add = {"1.jpg","2.jpg","3.jpg","4.jpg","5.jpg","6.jpg","7.jpg","8.jpg","9.jpg","10.jpg","11.jpg","12.jpg","13.jpg","14.jpg","15.jpg"};
              int X;
              int Y;
              public Puzzel(){
                        Image image;
                        Toolkit toolkit= Toolkit.getDefaultToolkit();
                        image=toolkit.getImage("icon.jpg");
                        ImageIcon icon=new ImageIcon("icon.jpg");
                        setIconImage(image);
                        setTitle("Puzzal");
                        JMenuItem pic = new JMenuItem("Solved");
                        pic.setMnemonic('a');
                        JPanel jp = new JPanel(new GridLayout(4,4));
                        ArrayList list = new ArrayList();
    MouseListenerClass M1 = new MouseListenerClass();
                           for(int x = 0; x < arr.length; x++)
                               arr[x] = new JButton(add[x], new ImageIcon(add[x]));
                               getContentPane().add(arr[x]);
                              list.add(arr[x]);
                        Collections.shuffle(list);
                        for(int x = 0; x < list.size(); x++)
                              jp.add((JButton)list.get(x));
                            getContentPane().add(jp);
                                 pack();
                                 setSize(427,427);
                                        setResizable(false);
                        /*for(int x=0;x<arr.length;x++){
                             arr[x].addSelectionListener(new SelectionAdapter());
                   public void widgetSelected(SelectionEvent event){System.out.println("IN");
                        if (event.getSource().getClass().equals(Button.class)){
                             Button button = (Button) event.getSource();
                             if (button.getText().equals("") )
                                  Toolkit.getDefaultToolkit().beep();
                                  else
                                       this.swapPlaces(((Integer) button.getData()).intValue());
                   public void widgetDefaultSelected(SelectionEvent event){
                                  System.out.println("Widget was defaultselected: " + event.getSource());
               for(int x = 0; x < arr.length; x++)
              arr[x].addMouseMotionListener(M1);
              private class MouseListenerClass extends MouseMotionAdapter
                   public void mouseDragged(MouseEvent E)
                   X=E.getX();
                   Y=E.getY();
                   for(int x = 0; x < arr.length; x++)
                        arr[x].setBounds(X,Y,100,100);
    public static void main(String[] args){
                    new Puzzel().setVisible(true);}
         }

  • How to move the "back" button to the top ?

    Hi there,
    I had some sub-menus and iDVD auto generate the "FORWARD" and "BACKWARD" buttons in the shape of a triangle. Problem is this buttons are alwayd at the bottom and I do not seem to be able to move the buttons around.
    Any tips on how to move these buttons to other places ?
    Thanks

    Old Toad wrote:
    You can't move them.  Those are hard coded into the themes.
    OT
    Thanks OT ... been trying for hours to move them !!

  • I can't figure out how to move my playlist folders to my iPod

    I have a 5th Generation iPod and I am using it with the latest version of iTunes on a dare I say it Windows machine.
    I organize my playlists in folders on my iTunes. When I sync to my iPod those folders do not carry over, but the playlists in those folders do not. I have sorted through the manual, the options on both iTunes and my iPod and this website, and for the life of me I can't even find a mention of how to move these folders over to my iPod.
    ANY help is apreciated.
    Thanks,
    Karl

    Although iTunes supports the use of folders in the manner you describe, unfortunately the iPod does not.

  • How to Move a Video File from Movie Section to "TV Shows" Section

    I have an Ipod classic, and am trying to figure out how to move a video file from the "Movie" section to the "Tv Shows" section. I have Itunes version 1.3 which for my device is listed as the most current version.

    haha itunes 1.3, epic.
    to clarify that, I think he would have an ipod classic 80gb which the newest version is 1.3 I think.
    However to answer your question, in itunes right click the movie, go to properties, then go to options, where it has media kind put it to tv show
    Message was edited by: Nudethecih

  • Photoshop elements 8 for Mac - how to move photos (events) from iphoto to pse

    I have figured out how to move one  photo over through opening a file.  But I can't move a full event or album from iphoto.  Ive tried going to bridge but when i click on the iphoto folder, it takes me into my iphoto and I'm not sure what do then, no buttons or anything that seems to connect to PSE.  Any help would be appreciated!  I wish Adobe supported this product better for Mac users.  Maybe they read these discussions?

    Hi,
    Are you opening iPhoto files from within Photoshop Elements? You can open all the files in an iPhoto event into PSE8 through a single click.
    In Photoshop Elements, go to File menu > Open. In the browser window that appears, click Photos under Media in the sidebar. Now, you should be able to see iPhoto with all its events. When you click on an event and "Open" it, you should get all the photos of that event in the project bin.
    Is this the problem being asked?
    Thanks.

  • Multi cam shoot using  P2 cards. How to move clis to timecode positions

    multi cam shoot using P2 cards. How to move clis to timecode positions. We were using free TC. I want to a large # of clips from both cams. and have them move to the correct TC position on the timline. In Nuendo eith audio u hit apple a or ctrl a right click move to orgin. Avid will take care of it for u. FCP???

    If you read the "Apple Pro Training Sereis; Final Cut Pro 5" book, it's very easy. You can sync the clips manually by setting In or Out points, specifying TC, or using one of the two Aux TC fields. Since this is the first, and most basic step in doing Multiclip editing, I'd suggest you get the book, or read the appropriate section of the User Manual. I don't think anyone wants to post a full "how to" article in a forum.
    It can be done, you're clips have to all have been recorded with synced TC, or they simply won't sync up in any NLE. Read the book. Cause even if I did have the time to explain FCP's Multiclip editing in this forum, you'd still have questions that are in the book.
    If you actually walk through the first steps of building a Multiclip to edit, it's blatatnly obvious in the first step. I'd give it a try first.
    Problem is the DVCPRO-HD codec is going to require a higher end Mac with tons of RAM and either RAID, or internal drives to do a DVCPRO-HD Multiclip, as DVCPRO-HD (P2) is a pretty high bandwidth codec. I use it daily, I know, it takes horsepower to do.

  • How to move purchased music from one mac to another

    Hi Everybody
    How do I move my purchased music (purchased in Itunes on my Powerbook) to my Mac Mini so that I can enjoy the music on both computers?
    I would very much like two answers:
    1. One answer that gives me the solution of how to move only the purchased music?
    2. An answer thats give me a solution to move/sync. the entity Itunes library/folder?
    Thanks in advance :o)
    Best
    /Kudsk

    1. How to copy purchases between computers
    2. Moving your iTunes Music folder

  • How to move my iTunes library to another laptop?

    How to move my iTunes library to another laptop?
    I used an external drive for my library so far and I just want to use this drive to organize my iTunes library on my Laptop.

    See this migrate iTunes library post.
    tt2

  • How to move a large messy library to an external hard drive?

    I have a fairly large library that is about 120 GB. My disk has absolutely no space left, and I would like to add more to iTunes. I have not been consolidating my files up to this point, which means most of my files are in various folders throughout my computer, but they are all still in itunes (I normally just drag and drop them in). I can't consolidate them now because I don't have space to copy them all again. I bought an external hard drive large enough to hold my whole library but I can't figure out how to move everything over while keeping the correct tags, ratings, etc. and even keeping all of the music that isn't in the iTunes media folder. Can somebody help me please? I don't think I will be able to add albums to the folder one by one and delete them as I go, because I have so many. Thank you!

    bump

  • How to move iTunes Library to new computer

    I am selling my imac and getting a retina mbp, but the imac will be gone before I can get the new one. So, I need to move all my music from the imac onto an external hard drive to import later. How can I go about doing this? If possible I could just copy all mp3s into a folder on the external and then import it into itunes on new computer. Can I do this? What other ways are there/are they easier? Thanks.

    See Here...
    iTunes: How to move your music to a new computer
    Or...
    From your OLD computer...
    Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    Full Details Here  >  Copy iTunes Library to Hard Drive to Back Up Data

  • How to Move iTunes Library BACK to the Hard Drive

    Almost every single support topic/YouTube video shows how to move the library to an external drive.  I did that... about a year ago. I recall it being very easy. I just moved, changed the location and that was that.  I want to give my external drive to my friend, though... and want to to move all the content back to the original location on my hard drive... but I'm not sure how/where.  What I THINK I'm supposed to do is copy the music folder back to ITunes Media\Music. 
    Ideas?
    Thanks

    Hello TWBuddha,
    You can use the directions listed in the following article, under "External drive." Just pick up at 'Part 5.'
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    Cheers,
    Allen

  • HOw to Move music from one iPod to a New iPod

    Hi
    Two questions actually;
    1) My wife wants an iPod, and wants hers to have all the same music as mine, is that possible?
    If not
    2) Our current iPod is only 30G and I want to upgrade to a 120G. I have not been able to find any info about how to move all the songs to my new iPod.
    I tried searching this site but a lot of unrelated 'stuff' comes up.
    Thanx.

    If you're both syncing from the same computer, on the same user account this will be incredibly easy. Just plug the iPod in, and it will automatically sync with the library, just make sure the preferences are alright.
    If the songs are all on the computer, merely plugging in your new one and syncing will transfer all the songs.

Maybe you are looking for

  • Is there a way to recover my tabs after using the Firefox "Forget the last" feature?

    Hi, So I'm a big dummy and used the "Forget the last" button on Firefox (I'm using version 34.0.5) without fully understanding what it does (note: I only selected it to forget the last five minutes, if that helps anything). It exited my session and r

  • Macbook pro using all bandwidth

    I have a MacBook Pro for use at my work. Our internet connection is not the best but recently i have been told that my PC is using all the bandwidth, even when i have very few programs running. The company telephone is run on the internet and when I'

  • How to control print-out in GI Slip based on storage location

    Hi Experts, Presently my smartform - GI Slip is giving print out for each line item. But the requirement is: no. of print out will depend on no. of storage location, independent of line item. Since GI Slip is a collective slip hence its showing same

  • Photoshop 6.0+mac

    Läuft dieses Programm auch auf 0S 10.4.2 Grüsse Lucca

  • Making my computer faster?

    I know this seems like a vague question, but I was wondering if there was anything like a defragmentation command (like the ones on PCs) on a Mac? Mine's starting to slow down a little bit and it seems like it might need to go through a little bit of