How to get Anchored Frame oversets

Dear All
I'm having one big problem regarding for the Anchores
I'm having 10 pages with anchored Frames data's in the pages.
Query:1
How to collect all anchored Frames
Query 2:
How to get the Anchored Frames Overset checking
Query 3:
How to get the Anchored Frame page number
//================================= Script ===========================//
var myFrame = myDoc.textFrames;
    var myCharacter;
    var ParentTextFrame;
    var PageNumber;
    for(var imyFrm=0; imyFrm<myFrame.length; imyFrm++)
     myAnchStory = myFrame[imyFrm].parentStory;
     $.writeln("myAnchStory:"+myAnchStory);
       for(var iAnstry0; iAnstry=myAnchStory.texts[0].textFrames.length; iAnstry++)
         try
           if(myAnchStory.texts[0].textFrames[iAnstry].overflows == true)
            myCharacter = myAnchStory.texts[0].textFrames[iAnstry].parent;
             ParentTextFrame = myCharacter.parentTextFrames[0];            
             PageNumber = ParentTextFrame.parent.name;
             $.writeln(PageNumber);
            // break;
          }catch(e)
//============================= End of the Script ================================//
But this scripts is working so many times... I dont know what I done the big mistake in this script.
Please any one can suggest me the solutions.
Thanks & Regards
T.R.Harihara SudhaN

Hi Harihara,
You can also refer the below link for more details:
http://forums.adobe.com/message/3209209#3209209
Thanks,
Praveen

Similar Messages

  • How to get Anchor object pointer

    Hi All,
    I have a text frame and and i have an anchor object attached to it. Now i just select the text frame and get the UID of the text frame. Now i would like to get the Anchor object ineterface pointer with attached to the Text Frame.How to get it?
    Thanks
    Sakthivel.P

    Hi Sergiy,
    I tried, but i am getting the ownedItem Interface pointer as null.
    This is what i tried
        ISelectionManager* iSelMgr = nil;
        iSelMgr = Utils<ISelectionUtils>()->GetActiveSelection();
        if(iSelMgr == nil) return kFalse;
        InterfacePtr<ISupUnTagEleUISuite>selItemSuite(iSelMgr,UseDefaultIID());
        if(selItemSuite == nil) return kFalse;
        UIDRef itemRef;
        if(selItemSuite->GetSelectedUID(itemRef)==kFalse) return kFalse;
        InterfacePtr<IHierarchy> itemHier(itemRef,UseDefaultIID());
        if(itemHier == nil) return kFalse;
        InterfacePtr<IOwnedItem> ownedItem(itemRef.GetDataBase(),itemHier->GetParentUID(),UseDefaultIID());
        if(ownedItem) return kFalse;
        if (Utils<IFrameUtils>()->IsPageItemAnchoredObject(ownedItem->GetFrameRef()) != kFalse)
            return kTrue;
    Thanks
    Sakthi

  • How to get the frame rate of my application

    Hi again...
    How can I get the frame rate of my application?
    I also want the frame rate value to be the title of the frame, updated every second. How do I do that?
    thanks in advance...

    To get the path where your application has been installed you have to do the following:
    have a class called "what_ever" in the folder.
    then you do a litte:
    String path=
    what_ever.class.getRessource("what_ever.class").toString()
    That get you a string like:
    file:/C:/Program Files/Cool_program/what_ever.class
    Then you process the result a little to remove anything you don't want:
    path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
    //Might be a little error here but you should find out //quickly if it's the case
    And here you go, you have a nice
    C:/Program Files/Cool_program
    which is the path to your application.
    Hooray

  • How to get the Frame size in H.263 by JMF ?

    Dear all,
    How to get the individual frame size in H.263 format if the H.263 file is a format of InputStream ???

    VideoFormat.getSize() returns a Dimension of a frame. H263Format is a subclass of VideoFormat. Guess you could get that object from getFormat() in your stream if it's a PullBufferStream. Or, with a Processor, you could do getTrackControls() and iterate through the TrackControl.getFormat()s until you find the VideoFormat.
    Suppose you could also get a FrameGrabbingControl, grab a frame and get the Dimension from him.
    --invalidname

  • How to get each frame Info in SWF ?

    Hi,all.
    I met a problem with SWF decomplie.
    If you have edited the fla files, store lots of frames which contains some shape information like pixels color, position and ect
    When you want to get that information in SWF, or rather, each frame information(like colors, pixels position), how to get that by AS3?
    Are there some ideas get frame info by AS3?

    Hi,all.
    I met a problem with SWF decomplie.
    If you have edited the fla files, store lots of frames which contains some shape information like pixels color, position and ect
    When you want to get that information in SWF, or rather, each frame information(like colors, pixels position), how to get that by AS3?
    Are there some ideas get frame info by AS3?

  • How to get Internal frames as well as a background image in a JFrame?

    Hi All,
    Here's my problem. I have a JFrame with a background image that I got by overridding the paintComponent() method of a JPanel and setting as the contentPane of a JFrame. Works great.
    Now what I want is to use internal frames with this Frame a la JInternalFrame classes. But you need to create a JDesktopPane object and set this as the contentPane of the JFrame to get internal frames to work, right? Is there a way for me to have my cake and eat it so I get both internal frames and a background image? Thanks!

    Hmmm,
    so simple, why didn't I think of that? Damn Mondays!
    thanks very much!

  • How to use anchored frames in side-by-side flows?

    Hello,
    I'm working in a bilingual document with two side-by-side flows and I cannot find the way of adding an anchored frame that runs accross both columns (to host a graphic for example).
    I could manually split the flows after the required line and add a frame between them but this document is revised every couple of months (adding and removing big amounts of text) and it would be too time demanding.
    Do you have any tip for me?

    The anchored frame will only affect the content in the flow that it is placed in. So, if you have a two-flow document, an AFrame placed in one column will never affect the content in the second flow. A graphic frame that spans both columns and has a runaround property will cause text to break around in it both frames. However, the graphic frame is tied to a location on the specific page and doesn't float with content changes.
    If the the content in the two flows is spatially synchronized, i.e. each paragraph in both flows starts at the same baseline location, and the graphic is common to both, then you could just use an anchored frame in each column anchored left/right to create a 100% overlap and place the graphic in only one of these.
    Alternatively, you could use a graphic frame across both flows and create a script that automatically re-positions a graphic frame, perhaps tied to a unique marker in both flows as the proximity indicator.

  • How to get the frame position after being moved.

    I created a frame, after I moved it by my mouse, how can I get the new position?

    you could use getLocation() of a JFrame, maybe call it with a mouselistener or windowlistner.

  • How to get the frame number of a label in a different scene.

    I am completely stumped on this.
    I have my project setup as the gameplay in one scene, and another scene for the outcome.
    The outcome scene, say called, GameDone, has 2 frames. The first frame for win, labeled it WON, the second frame for lost, labeled LOST.
    I could do the very simple thing and just gotoAndStop("GameDone", 1); but thats a bad practice, I believe.
    Ive gone through google and found the closest thing needing a MovieClip. I could not figure out what to give it? A random MovieClip? a new one? one from the next scene? one from the current scene?
    import flash.display.Scene; 
    for (var i:uint = 0; i < mc1.scenes.length; i++) {
         var scene:Scene = mc1.scenes[i];
         trace("scene " + scene.name + ": " + scene.numFrames + " frames");
    That was an adobe sample.
    So how could I, in the gameplay scene, the frame number for either WON or LOST in the "GameDone" scene?
    Thanks.

    Try doing the simple thing that you think is a bad practice.  I don't know why you think it is.  The only problem with it is that you appear to have it backwards for AS3... in AS3 it is gotoAndStop(frame,scene);
    Why don't you use the frame labels instead of frame numbers?  gotoAndStop("Won", "GameDone");

  • How to get the information of the framerate and bitrate in receiving side

    Hi,
    I want to know if anyone here know how to get the frame rate and the bit rate statistic on the receiving side.
    I know that it will be displayed on the info panel with the control component, but actually where can I obtain the stats into my program instead of reading by my eye.
    Thanks for helping me.
    Best regards
    Ferdinand

    Hi Raju,
    It's basu here,
    I used TADIR and TRDIR Tables , But There is no modified Information.
    Means, Suppose if i modified any customized object , i want that information also in the Report.
    Please Help me on this.
    Thanks
    Basu
    Message was edited by:
            karibasavakm Kumbargiri Math

  • How to get pagenumber of anchored Box

    In javascript, how to get page number of anchored textbox.
    if i gave "textframes[0].parent" means it shows an error.
    Thanks

    Usually, the "textframes" array of an object points to the textframes contained in that object. Therefore, if you ask something with textframes what the parent is of "textframes[0]", you will get that same object again.
    In this case you are getting an error because there are (apparently) no text frames inside the anchored object.
    To try out stuff like this you can use the "constructor.name" construction:
    alert (app.selection[0].parent.constructor.name);
    with the anchored object selected results "Character". That cannot ever be a part of a page, so you have to get up another level:
    alert (app.selection[0].parent.parent.constructor.name);
    will tell you it's a Story. Now that's obviously wrong, because a story can run over several pages. Looking into the Object Model, you will see a character also has a property "parentTextFrames" (described as "The text frames that contain the Character. Can return: Array of TextFrames or TextPaths."). Checking with
    alert (app.selection[0].parent.parentTextFrames[0].constructor.name);
    now returns the text frame of the story where the actual character -- in this case the Anchored object -- is located in.
    For simple documents and scripts, you are done here: the parent of a text frame is the page. If this frame in turn could be anchored inside something else, or the anchored object could be inside a table or something like that, or the objects could be on the pasteboard or on a master page, you'll need additional checks.

  • How to get the values from repeated frame?.

    Hi
    how to get the values from repeated frame?. i have to disply the first 3 digits in another place in my report.
    i have field empno in repeated frame and i want to disply first 3 digits in another place in the same report.
    thanks

    How often do you need to display it? It sounds like you might want to base a summary on that formula with a function of first or last. If it's a per page basis, it can be a page level summary. If it's at a higher level repeating frame, then you can create the summary at that level. I'd suggest taking a look at the online help for summaries using the first/last functions.
    Hope that helps,
    Toby

  • How to get instance of all components in a frame  dynamically

    Hai ,
    I want to know how to get the instance names and values of components on a frame . if any body knows anything on this
    Please help me
    Advance Thanks

    Hai ..
    Thanks for guiding me here i had copied my example code i am getting name value null
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    * @author  naveen
    public class Test extends javax.swing.JFrame {
        /** Creates new form RaviTest */
        public RaviTest() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        private void initComponents() {
            jTextField1 = new javax.swing.JTextField();
            jTextField2 = new javax.swing.JTextField();
            jButton1 = new javax.swing.JButton();
            getContentPane().setLayout(null);
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosing(java.awt.event.WindowEvent evt) {
                    exitForm(evt);
            getContentPane().add(jTextField1);
            jTextField1.setBounds(180, 60, 100, 20);
            getContentPane().add(jTextField2);
            jTextField2.setBounds(180, 90, 90, 20);
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            getContentPane().add(jButton1);
            jButton1.setBounds(170, 140, 81, 26);
            pack();
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            // Add your handling code here:
            Component[] comp=this.getContentPane().getComponents();
            for(int i=0;i<comp.length;i++)
                if(comp[i] instanceof JTextField)
                    getT((JTextField)comp);
    public void getT(JTextField jt)
    System.out.print("name "+jt.getName());
    System.out.println("value "+jt.getText());
    /** Exit the Application */
    private void exitForm(java.awt.event.WindowEvent evt) {
    System.exit(0);
    * @param args the command line arguments
    public static void main(String args[]) {
    new RaviTest().show();
    // Variables declaration - do not modify
    private javax.swing.JButton jButton1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    // End of variables declaration
    OUTPUT AS :
    if we enter some text in text box and press the button we get like this
    name null value ABCD
    name null value EFGH
    may be some components will have name but if they names are not set
    then we get null value
    what i want is at that i want the jTextField1.. as name(ie.. object name) when the name is not set how to do it

  • How to get frame document in frameset

    Hi, All
    I have a application that need to resolve a very old website that write by frameset/frame. While I use webView.getEngine(), I just get the top window.
    But what's I need is one of frame document(for example below frame1), I need to monitor one of the frame change event(LoaderWorker, document change event), this frame will dynamically change when user click refresh button. But base on currently API, seems I just get top WebEngine and can just monitor top document load and document change event.
    How can I monitor frame event.
    <frameset>
    <frame name="frame1" src="sample1.html"></frame>
    <frame name="frame2" src="sample2.html"></frame>
    </frameset>

    You could either make an executescript call on your main document to add a javascript based event handler listening to changes to the frame contents or add the same event handler via java by manipulating the document returned from webEngine.getDocument(). I can't help with a detailed solution for now, but at least you have a direction.

  • How can I get the frame option that diffuses the edges of a picture in pages 5.2

    I recently updated to Pages 5.2 and have discovered that my favorite and most used framing option is no longer a choice.  How can I get the frame option that allowed you to diffuse the edges to soften a picture edges on 5.2? 

    That is called the vignette, and yes Apple has removed it from Pages 5 along with 100 other features.
    Pages '08/'09 should still be in your Applications/iWork folder so use that.
    Be aware that Pages 5.2 is not only short of features it is also buggy and prone to leaving you with files that won't open.
    Peter

Maybe you are looking for

  • New to apple - basic questions about personalizing the dock

    Hi - Just got my MBP this week, and haven't used an apple before. I am curious how I can add and remove icons to/from the dock in a "permanent" fashion so that the format stays constant after I restart the computer. Basically, I'm never (or rarely) g

  • Lookup transformation - Performance Issue -Please help!

    Hi,  I have a Source table with 5 million rows. I am pulling all the rows from the source table, then doing the lookup with 5 different tables one by one. I use Full cache as the lookup table size is very less only. I used 'Ignore Failure' option in

  • Output type not getting defaulted in PO

    Hi..... I have configured output type as printout for purchase order, i have set the default value for message type NEU, even than when i create a PO system is not picking the message type NEU.. i have also mainatined condition record in MN04 for the

  • ITunes crashed with backing up/need help restoring

    In the middle of doing a first-time back-up, my iTunes crashed. When I restarted it, all my music was gone. (My library page is black.) iTunes estimated I'd need 6 disks to back-up my library. I was on disk 4 when the problem occurred. What should I

  • Sound (optical) gone after upgrade [SOLVED]

    Hi All, I have had great fun after the last upgrade. First problem  nvidia driver would not load, solved by allocating more ram on the kernel line (in /boot/menu.1st Second problem is I no longer have a visible optical sound interface (the one on the