Make the absolute displacement using central reference point

I want to place a large number of images of varying proportions, using the central reference point at the same point in each page.  I played with the move, and he always seems to use the upper left point.  My reading of the literature suggests that I would get the same results with transformation.

I realize that I could do the calculations to make the move, but hope I'm missing something and there is a much simpler way to do.

Thanks in advance

Jerry

I finally just did the calculations - it doesn't seem like elegent as moving using the reference of the Center but it works.

Here is a snippet of the code with the warning that 6.125 and 5.0 are hard-coded and they shouldn't really be OCD made me round up things...

XY = myObject.geometricBounds
height = xy (2) - xy (0)
width = xy (3) - xy (1)
x_position = round (6.125 - (width/2), 3)
y_position = round (5.0 - (height/2), 3)
myObject.move Array (x_position, y_position)

Jerry

Tags: InDesign

Similar Questions

  • How can I make the past events using {module_booking}?

    How can I make the past events using {module_booking}? Filter = 'All' Render = 'All' seems to show only upcoming events. Any advice? Thank you!

    By the new engine rendering and the module_data.

  • Multiple copies of the functional global using vi references

    I have several producers acquisition in a global operation (a functional overall by the producer). These functional overall are identical except for the name. He would work to have only one functional global VI and get a separate reference for each producer? The corresponding consumer would have also used the appropriate reference to consume the data.

    The functional global contains an array of data that must be analyzed by the consumer. It is possible that the data table does not contain a complete set of data on a unique "store" by the producer operation. Of course, the consumer, is written to search for a complete data record before completing the processing of the file.

    Les__Bartel wrote:

    TST wrote:

    No matter that there is a better way, the answer to the question is Yes. The FGV must be reentrant and the reference you open must be re-entrant too and then you can use the CBR node to run the specific copy of the FGV.

    I thought that a reentrant vi would not maintain the State of the shift register not initialized by one call to the other.

    A reentrant VI will maintain the State of its shift uninitialized registers.  However, you must be very careful, how to do this.  You first need to make sure that it is set to allocate Clones.  What will happen in this situation, it is that each different place call you this sub - VI each will be a different clone.  This means that each call will have its own data.  The problem with this is that you cannot share the data between multiple instances and therefore multiple loops.  If you don't believe me, go play with mean it Point by Point VI.

    So what happens if you assign shared clones?  A big freakin mess '.  You will have no control over which clone called where, and there will be a major data corruption.

    This is why FGVs are almost always not reentrant.

  • How to make the absolute value of the Member

    Hello
    I have an account which must contain an absolute value only 1 or 2 or 3 but not of decimal numbers
    is there a way in which we can limit the Member to only contain a value.
    If I disable the decimal details form so it doesn't not display the decimal value, but I can still enter a decimal value.

    Hello
    If what you mean is to allow users to enter only from the list of pre-defined numbers, you can use Active lists.
    Or if you want to restrict the entries as integers only, you can apply via customization in validatedata.js. Alternatively, you can write a business rule in order to convert the entire entry. The script function calc, you need to use is @ROUND.

    See you soon,.
    Alp

  • Make the field required using the Validation

    Hello

    I use R17 and want to make a field required by the adding validation [< field >] IS NOT NULL

    Strangely, this does not work on a new Record. a NULL value is always accepted. It only works for a modified record.

    has anyone in front of it too? or is this a BUG in my environment.

    Any ideas?

    Just to check if it works, I tried a [< field >] validation IS NULL and it worked correctly on New and updated records.

    Thank you
    Royston

    Hello

    There is a solution to achieve this. PL download the configuration steps of the below mentioned link.

    http://DL.dropbox.com/u/3971519/make%20A%20Field%20Required%20Using%20Advanced%20Field%20Management.doc

    Let me know if you have any questions.

    Rgds,
    Amit samir

  • NB200-10Z: can't make the drive recovery using TOSHIBA Recovery Disc Creator

    Hi people,

    Finally got round to buying a USB DVD drive to create a recovery disc for my NB200-10Z. I received the following:

    * Samsung SE-S084C, external USB 2.0 Slimline 8 X DVD writer, black

    I tried twice to create a recovery disk and now find myself with two trashed DVD. The error in the error window codes are:

    Error code: 0E01B5-26 - 2A 040803
    Error code: 02016F-3 c-00000000

    The first time that the fire has been stopped, the second time of the verification failed.

    Anyone can shed some light on this?

    Hey mate,

    The disks that you use to create a recovery disk?
    I had a similar issue that he wasn t possible to create the recovery so media I bought Virgin s manufacturing another DVD (Verbatim DVD-R) and it worked!

    It seems that DVD - R media works well instead of DVD + R
    It s worth a try!

  • Make the disk image using disk utility and the message "Apple_HFS: 0" is displayed

    I'm doing a disk image to try to work on that later. This is an image of a failed disk drive. Some areas can only be read, I know and the process takes a long time because of this, so I'm willing to be patient.

    I get messages in the disk utility window that says "Apple_HFS: 0" and "Creation of image xxxx.dmg.

    The disc has about 700 GB. I started it about 20 hours ago, and the blue bar is about 5% of the way, so not much happened.

    I fear that the message "Apple_HFS: 0" means that the disk image is not made. I am concerned about the part "0". I don't know what that means.

    I don't want to do it for days and days and find that there not to make a disc image all this time.

    I realize that the fact that the external drive is damaged (probably damage) means that this process will take longer than normal. I am willing to leave it for a week so that he can make a disk image. But not more than a week because then it is not worth my time.

    So my question is: does the message ' Apple_HFS: 0 "means something bad, or that the message normally during this procedure?

    Apart from this message and the message "Xxxx.dmg imaging", there is no other message.

    I think I'm making progress because the bar has moved since I started the process. For a long time I couldn't see a bar at all. And today, after spending the night, there is a small bar, as I said, about 5% complete. But it's very slow. It would take at least a week for the disk image to be made. I just want to know if the messages that I see are normal or not.

  • How to make the new display using Javascript

    Based on a given condition, I want to change what nodes are visible in a given view and then save it as a new view.

    var viewIndex = 0;

    pageIndex var = 0;

    A3D var = this.getAnnots3D (pageIndex) [0];

    var aRuntime is a3d. context3D.Runtime;

    Duquette var = a3d.context3D.scene;

    var aView is aRuntime.getView (viewIndex);.

    var i = 0;

    for (i = 0; i < aScene.nodes.count; i ++) {}

    var aNode = aScene.nodes.getByIndex (i);

    If (... check...) {

    aNode.visible = false;

    }

    }

    ... How to save this change to the visible nodes to a new view? ...

    Interactively, I can go to view > > manage views... > > new view > > Ok

    I can't find anything in the documentation or search the Internet on how to do it programmatically.

    The short answer is you can't.

    However, you pouvez add a list field or down the page or create a menu in the 3D runtime which will display a list of named views as "views" you "Save" through your code. If I did that, I would use a hidden field containing a JSON string that stores the original name of the view and the changes that your code performs. Then when one of these "views" is selected, obtained in the initial display and then review the terms that you have captured in your if statement.

    These, of course, would not appear in the model tree, but would be visible in your list box.

    J-

  • How can I make the text highlight using the i-beam in a browser using CS4?

    Whenever I have test a movie or view in browser html, the text is selectable/unlightable. How can I do so that I can highlight text and copy/past. You know the options when you right click after you select the text. Thanks to a bouquet. I use cs4.

    Select the text box, and in the property Panel, you can set the text to be "selectable" box

  • Are there specific codecs or import libraries that will make the first 6 use several types of files?

    Are there specific codecs or import libraries that will allow the first 6 import file types more?  I use 6 first on Windows 7.

    It seems that the only type of file which can be imported in this first release are certain types of AVI files... even certain types of notice will import but then will not appear when it is not placed in the timeline... no MPGs, MP4s, and WMVs, or something else will import at all.

    Virtually all the files I need to bring for first 6 must be converted into AVI with H.264 codec first.

    Any help would be useful.

    Digi

    I'm afraid not.

    Even if you were abel to import the first is not designed to handle these files.

  • How to make the load simulator using labview 2010

    I would like to ask how to load simulator using labview?

    What have you tried so far? and exactly what your tying to do?

  • Move the object by the "reference Point".

    I need to move the images on my document using different reference points. But it seems that by default, it moves using the 'AnchorPoint.TOP_LEFT_ANCHOR '. I can't change it.

    Here is my code:

    myDoc var = app.activeDocument;

    var changeRefPoint = app.activeWindow.transformReferencePoint = AnchorPoint.TOP_RIGHT_ANCHOR;

    if(MyDoc.Selection.Length == 1)

    {

    If (app.selection [0].constructor.name == "Rectangle")

    {

    var rectangle_graph = app.selection [0].move([159,61.3]);

    }

    }

    Hi Ken0207,

    I'm afraid that the setting of PageItem.move (in, in) is always top-left-anchor parent, regardless of the current transformReferencePoint.

    I can't test it in depth, but the following function should do the job:

    function moveToConsideringAnchor(obj, xyDest, anchorPt)
    // -------------------------------------
    //       :  any singular PageItem specifier
    //    :  [x,y] location expressed in the current ruler space
    //  :  the considered AnchorPoint (default is top-left)
    {
        if( !(obj && obj.transform) ) return;
    
        var CS_PASTEBOARD = CoordinateSpaces.pasteboardCoordinates;
    
        anchorPt || (anchorPt=AnchorPoint.topLeftAnchor);
    
        var xy0 = obj.resolve(anchorPt,CS_PASTEBOARD)[0],
            xy1 = obj.resolve([xyDest, anchorPt],CS_PASTEBOARD,true)[0],
            dx = xy1[0]-xy0[0],
            dy = xy1[1]-xy0[1];
    
        obj.transform(CS_PASTEBOARD,[0,0],[1,0,0,1,dx,dy]);
    }
    
    // ---
    // SAMPLE CODE
    // ---
    
    // Your settings:
    var CONSIDERED_ANCHOR = AnchorPoint.BOTTOM_RIGHT_ANCHOR,
        XY_DESTINATION = [159,61.3]; // in ruler space
    
    var sel = (1==app.selection.length) && app.selection[0];
    
    if( sel instanceof Rectangle )
        {
        moveToConsideringAnchor(sel, XY_DESTINATION, CONSIDERED_ANCHOR);
        }
    

    @+

    Marc

  • "Cannot take the required system, error 2147121300 restore point".

    Run the registry clean up using norton 360 v.6 and got this "unable to make the required system, error 2147121300 restore point.

    I need help to make the registry cleaning works on this norton 360.

    On Sunday, October 7, 2012 13:27:28 + 0000, fredericksaw wrote:

    Run the registry clean up using norton 360 v.6 and got this "unable to make the required system, error 2147121300 restore point.

    I need help to make the registry cleaning works on this norton 360.

    I highly recommend that you do not have it.

    Registry cleaning programs are all snake oil. Cleaning of the
    registration is not necessary and is dangerous. Let alone register and
    do not use any registry cleaner. Despite what many people think, and
    What software record cleaning suppliers are trying to convince you,
    have unused registry entries is not really make you hurt.

    The risk of a serious problem caused by a registry cleaner by mistake
    delete an entry you need is much greater than any potential benefit
    It can have.

    Read http://www.edbott.com/weblog/archives/000643.html
    and http://aumha.net/viewtopic.php?t=28099
    and also
    http://blogs.technet.com/markrussinovich/Archive/2005/10/02/registry-junk-a-Windows-fact-of-life.aspx

    Let me stress that neither me nor anyone else who warns the
    use of registry cleaners never said that they always cause
    problems. If they have always caused problems, they would disappear from
    the market almost immediately. Many people have used a registry
    cleaner and never had a problem with it.

    The problem with a registry cleaner is that it carries with it
    the risk of a significant problem. And since there is no
    benefits of using a registry cleaner, running that risk is a very bad
    good deal.
    Ken Blake, Microsoft MVP

  • System makes the rattling while you type

    Original title: small but annoying problem hits

    Sometimes while typing, I hear a click in the background or a regular program will open.  When I return to check out what I wrote, several characters will be missing and that I must make a few changes.  I am running Windows 7 HP 64 bit with 8 GB of ram.  My memory usage is generally less than 20%, you would think that a hiccup of typing with this system would not result in an interruption of the system.  Is there a way I can change priorities or something so that this does not happen?

    Thank you

    I hope you were able to find the cause of this, but just in case...

    Go to Accessories > ease of access > ease of access Center

    Click on 'make the easier to use the keyboard.

    Under "make it easier to type" position, and make sure that all boxes are DISABLED for StickyKeys, keys toggle keys filters.

    I have encountered this same problem this morning and was able to find a way to resolve the issue after trying to find an answer here.

  • How can I make reference to the parent, without using _parent or _root?

    I can't use the following in my ActionScript because of conflicts with the host application:

    _level0

    _root

    _parent references

    A pop-up window I have a button closure with an absolute reference:
    closeBtn.onRelease = function () {}
    unloadMovie ("_level0. Page_1.holderBox");
    }
    Is there another way to do this job without use _level0 or _parent?
    I read that it is possible to use a global variable on the main timeline and ref, but cannot get that to work.

    You may need to try several different approaches (it's what I would do), but you may be able to target just the owner directly using the variable global and not necessary to include the reference Page_1 with her...

    section 1:

    _Global.mcVar = null;

    later...

    _level0. Page_1.imgholder.image0_0.boxS.onRelease = function() {}

    createEmptyMovieClip ("holderBox", getNextHighestDepth ());

    holderBox.attachMovie ("boxSound", "boxSound_mc", 0);

    _Global.mcVar = holderBox;

    };

    If this does not work, try to move in after every time holderBox is added in Page_1 and include Page_1 in the assignment as I showed earlier.

Maybe you are looking for