find features in InDesign, I want a known rectangle coordinates can move that I would be happy if you write for this scprit

find features in InDesign, I want a known rectangle coordinates can move

I would be happy if you write for this scprit

If you want to get the contact information, select a rectangle and try the code below:

var rectangleBounds = app.selection[0].geometricBounds;//array
alert(rectangleBounds[0]);
alert(rectangleBounds[1]);
alert(rectangleBounds[2]);
alert(rectangleBounds[3]);

If you want to move the rectangle.

app.activeDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
app.activeDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
app.selection[0].move([0,10])//x-axis and y-axis

Vandy

Tags: InDesign

Similar Questions

Maybe you are looking for

  • My laptop was stolen

    OK then my MacBook pro was stolen, no I don't think by apple. However through a form cruel torture I did they are activity on my iPhone Firefox home app. Is there a way that this could be useful? It is not the value of the computer and all that was s

  • tried to use back up and restore but it did not

    has ran the classic disk defrag and subsequently, I couldn't open any of my programs, tempted to save at different times and could not do. At get wondering deleted by train the disk defragment

  • Cutting of duplex margin on 8500 wireless

    Well, I recently got an Officejet Pro 8500 Wireless. I just found out that when I print duplex from my mac, the lower margins are clipped way upward. It does only on duplex printing. Y at - it a setting I need to change? How can I get around this?

  • Failure of Windows password.

    I tried to change my password of Windows (vista) and failed. Now my old password is not accepted. How should I proceed?

  • The downloaded songs will not import into Windows Movie Maker

    Windows Movie Maker Vista I downloaded 6 songs to itunes and have converted their MP3 using itunes software. Two of the six will download in movie maker, Windows Vista 64 bit and I don't understand why the other 4 wrong?