move the object or shift page

Hello!

I have a lot of files with x A4 pages.

At the top right of the pages, there is a box with name and address.

I can move the box?... I need to translate the box down to a few millimeters...

Alternatively, move all the contents of the page down (not only the box...)... what I can do in javascript?

Thank you

Andrea

You cannot move content selectively in a PDF using JavaScript. The only way to move programmatically, an object or a group of objects is via a plug-in of Acrobat (written in C or C++). However, you can move all the contents of the page using JavaScript by changing the harvest of your pages and media boxes. Take a look at this script, it shows how this is done. The script moves all content by an inch (72pt). If you need a different distance, you must convert the distance you want to move your content in mm at points. A point is 1/72nd of an inch and one inch is 25.4 mm.

// move content down by a certain amount
(function() {
    var a = this.getPageBox("Media");
    a[1] += 72;     // 72pt is 1"
    a[3] += 72;
    this.setPageBoxes({cBox: "Media", rBox: a});
    a = this.getPageBox("Crop");
    a[1] += 72;     // 72pt is 1"
    a[3] += 72;
    this.setPageBoxes({cBox: "Crop", rBox: a});
})();

Tags: Acrobat

Similar Questions

  • I have to move the mouse to load pages

    Hello
    I am running version 34.0 Firefox and I have to move the mouse to load pages or videos. I don't have to do this problem in Internet Explorer, Firefox only.

    This problem can be caused by malicious software.

    Make a check of malware with several malware scanning of programs on the Windows computer.
    Please scan with all programs, because each program detects a different malicious program.
    All of these programs have free versions.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • I opened a high-density .tiff file in photoshop, but I can't move the object

    I opened a high-density .tiff file in photoshop, but I can't move the object

    Chances are that the image is the same size as the document. You can either add Web Image > canvas... size , use the crop tool and do drag outwards to create more space, or reduce the size of the image ctrl-t or command-t then scale the image inward.

  • Cannot move the object

    Hello

    I scanned a drawing that I place on it's own layer from the office, he was directly drawn, expanded and consolidated.

    When I select to move it, either using the arrow keys or the transformation/move command, I get a message that I've ever seen before "cannot move the objects. "The requested transformation would make some objects fall completely the drawing area.

    Could someone explain what it means?

    Thanks for any advice.

    Occurs usually when you have a wandering point or a selected guide. Zoom out all the way. You have something that is going to the grey area (outside the mount table) completely.

  • 5.6 pages move the object to the background?

    Near as I can tell, there is no way to float an object behind the text in a Pages 5,6 word-processing file.

    I can place the rectangle, select it, but "send to back" do not place behind the text.

    Change the implementation of 'Stay on the Page' or 'Move with the text' does not work.

    I can't believe they have eliminated this option in the recent upgrade, but hope that they were hiding somewhere that I have not watched.

    Someone knows how to do this? (Outside of return to an earlier version of Pages.)

    Photo:

    Using the option "master article" seems wrong and a bit stupid.

    Help?

    What you have discovered is the trade-off between the use of object moving to Section Master in v5.6 Pages, or by using a real word processing in Pages ' 09 v4.3 (below) that allows to define simply object to the background (selectable or not) and he remains behind the text.

  • arrows move the object in opposite directions - default type in vertical orientation

    Hi Illustrator community.

    Two questions were really annoys me and so far I've been unable to find a solution:

    On my Macbook Pro 13, 2012 ", in this version of Illustrator CC (not a problem for other products CC), the arrows are somehow put out: using the left/right arrows moves objects vertically, and using up/down arrow keys moves objects to the left and right." Even if I tried to get used to it, it's really slow me down I checked the preferences and keyboard shortcuts, and unless I'm missing something, there seems to be a setting for this?

    Also when using the standard tool (not the vertical type tool), initially type is placed rotate 90 degrees counterclockwise, and after that I flip back to a horizontal position, I can move and edit fine. Any suggestions?

    Thanks in advance,

    Mark

    Mark,

    Edit > preferences > General > constrain Angle should be 0 degrees.

    If this is the case, Illy may think, it is not, and then she made a mess of things (and perhaps other things, too). In this case, it may be time for the list below.

    Unless you subscribe to the vertical version.

    The list:

    Sometimes, (some) things may fail or stop working for no apparent reason. When (other) possible reasons/remedies do not work, it is perhaps a kind corruption (temporary or permanent), or even preference settings which disturbs, which can be cured with something on the following list put in place in order to provide a catch-all solution for otherwise intractable cases. It starts with a few easy suggestions and safe) 1 and 2) for cases less serious and goes two ways 3) and 4) to reset the default preferences (easily but irreversibly and more laboriously but more completely and also reversible), then follows a list 5) various other possibilities, and it ends with a complete reinstallation 6). If no other suggestion doesn't work, or if no other suggestion appears, you can start on the list and decide how to go or who can apply.

    The following is a general list of things, try when

    (A) the question is not in a specific file,

    (B) you have a printer installed, connected and turned on if it's a physical printer (you can use Adobe PDF/Acrobat Distiller as a printer by default without the need to have a printer on, of course you will need to specify when you really need print on paper), and

    (C) It is not caused by problems with opening a file from external media (see below).

    You tried/made some of them already; 1 and 2) are easier for temporary strangenesses and 3) and 4) specifically may be corrupted/inconvenient preferences); ((5) is a list in itself and 6) is the last resort.

    If possible / there is, you must record a current work first, of course.

    (1) close Illy and open again.

    (2) restart the computer (you can make up at least 5 times);

    (3) close Illy and press Ctrl + Alt + Shift / Cmd + Option + shift during startup (easy, but irreversible);

    4) move the folder (follow the link with this name) with closed Illy (more tedious but also more thorough and reversible), for CS3 - CC you can find the file here:

    https://helpx.Adobe.com/Illustrator/KB/preference-file-location-Illustrator.html

    5 look through and try the relevant among the other options (click on the link with that name, item 7) is a list of the usual suspects among other applications which can disturb and confuse Illy, point 15) applies to the maybe CS5, CS6 and CC);

    Even worse, you can:

    6 (A) uninstall (check the box to delete the preferences, if any), B) run the cleanup tool (if you have CS3/CS4/CS5/CS6/CC) and C) reinstall. It is important to use this step three way: otherwise, things may persist.

    http://www.Adobe.com/support/contact/cscleanertool.html

  • incremental processing of the object on several pages?

    Hi, I wonder if anyone knows of a script or an easy way to transform an object gradually over the pages.

    in my case, I want a header and slips through slowly the tops and sides of a book, page by page. the book is 212 pages long, and I would like to the effect of being almost like an old fashioned flipbook, where if you flipped through the pages quickly you observing the folio of up and down slide.

    the best I can get to is to do it manually (copy, paste in place, move one increment, copy again, next broadcast, repeat), but this seems incredibly annoying, not to mention error during "spreads 106".

    Thanks in advance for any help!

    Ben

    Ok.. I'm at home so I can't really test this much, but using the method of jarek (faster, easiear, better etc.):

    Create the "roving" items on the first page of your document.

    Select them (if you have more items the script will regroup, but make sure you have at least a page item selected because I do not add too much to the script of error checking) and run the script.

    function main(){
        var doc=app.activeDocument;
        var sel=doc.selection;
        var myTaveller=sel.length>1?doc.groups.add(sel):sel[0];
        var myDist=prompt ("Distance to move on each page in current vertical measurements", 1, "Distance");
        var pages=doc.pages.everyItem().getElements();
    
        for (var i=0; i
    

    now... If you need to work for the odd pages, he needs a few changes (just add an another prompt to ask if the user wants to go two pages, if yes, double the myDist, then change the loop to form two), but it's pretty late for me now, i ' w benn working 13 hours now If I have the time, mabye tomorrow I can change if you or someone else is not, and you need.

    Good luck

    Vlad.

  • Help, please. New CS 4 error: cannot move the objects. the requested transformation would make some objects fall completely the drawing area.

    I know that this is not a 'new' error message, but I never got on the previous versions of Illustrator. I just upgraded to CS 4 and get it now on almost all files when I try to move an object in any direction. Not that it matters, but these are files that were created in previous versions of Illustrator and I never had this problem. I followed the instructions of similar positions without success. I zoomed way toward the edge of the art Council: there is no hidden layers, objects or guidelines, no persistent points of the guidelines are erased, or objects of any kind anywhere near the edge of the box art (which, I know it, is huge compared to the size of my working paper of 11 x 17)

    What Miss me?

    In addition, on occasion, when I CAN move an object (usually a JPG or PDF image that I placed in the document), the image disappears. I think it is always 'there' even if I'm not. Any suggestions?

    Is it possible that your keyboard Increments area struck a giant number? Check under general preferences. (removal of preferences would also reset it)

    Also, to double check - when you zoom in completely to where you can see the limits of the editing table (so you're zoomed out to like 5% or something like that) UNlock all United Nationshide all and select all, is your framework of selection within your page?

  • Move the cursor without warning page expanded so I don't see any width.

    My touch pad has a hair trigger. It's worse when she plays the Queen of Spades when I don't say it. I was on a page, and move the mouse cursor, when for an unknown reason, the page expanded in size so I get is more the width. How to cancel it. I looked everywhere in my system, and I can't well the way to cancel it.

    Try to reset the zoom level on this page.

    See this:
    https://support.Mozilla.com/en-us/KB/page+zoom

  • Get the objects on a page or get the selection with JavaScript?

    I have a bunch of page PDFs with an ornament on the page. I need to crop all pages the same distance of the ornament. The problem is that the ornament is never in the same horizontal position.

    I have the script where the operator cultures page tight for ornament and I use getPageBox and setPageBox to develop harvest evenly around the entire page, but I would like to completely automate it.

    Basically I need a way to know where the ornament is on the page. Is it possible in Java (I couldn't find one) to browse objects on the page to check their size?

    Thank you very much

    Ken

    Gobs much gratitude to MD_quake for posting back here when he or she finds his answer.

    It turns out that the boxes have BEEN changing, but the & #* $%! dialogue of cultures was not showing the changes on all the boxes! Save the file and open it again displays the boxes correctly. By mail to the MD, you can also use a preflight.

    I'm done with this JavaScript but could also change the media box to clean things up a bit.

    var TargetWid = 302

    var TargetHt = 477

    To display the culture for the page

    var CurrRect = this.getPageBox ({cBox: "Crop", nPage:0});})

    var AdjWid = (TargetWid-CurrRect [2]) / 2

    var AdjHt = (TargetHt-CurrRect [1]) / 2

    App.Alert (AdjWid);

    The value of the new culture area of the box (in pixels)

    CurrRect [0]-= AdjWid;  Adjust the left side

    CurrRect [1] += AdjHt; Adjust the upper part

    CurrRect [2] += AdjWid;  Adjust the right side

    CurrRect [3]-= AdjHt; Adjust the lower side

    Apply the new harvest area to the area of all pages

    this.setPageBoxes ({cBox: "Crop", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})

    Reset the CurrRect to the new crop and adjust the other boxes

    var CurrRect = this.getPageBox ({cBox: "Crop", nPage:0});})

    this.setPageBoxes ({cBox: "Art", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})

    this.setPageBoxes ({cBox: "Trim", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})

    this.setPageBoxes ({cBox: "Bleed", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})

    Best,
    Ken

  • Move the object centerpoint

    I would like to create a series of numbers in a radial chart for an indicator of speedometer. It should be fairly easy to create a number, move the center point to the middle of the dial and then run a certain number of degrees. But it is desperately difficult. I was also told to use Parent and create a small object in the Center and use layers for numbers of parents. I do not see how things to a parent or who carry out.

    Anyone have any suggestions?

    Thank you!

    Andacar

    Do you want the numbers to stay oriented vertically or follow the Ark? After the arc is not a problem, maintain the vertical alignment is more delicate.

    For the text rotated:

    1. First point position in place text object (12:00 position works well).
    2. Object text selected, choose "rotation tool" and Option + click on in the center of the dial
    3. Degree of rotation of type and click 'Copy' (to calculate the type of rotation 360 / [dial positions number] and press "Tab".) I will return extra degree).
    4. Press 'Cmd + D' to duplicate the last action until all text objects are in place
    5. Updated text of characters of your choice

    For the text without rotation:

    1. Create the first text object
    2. Convert to symbol
    3. Follow steps 2-4 from above
    4. Select all occurrences of symbols
    5. Click 'Reset' (this is to realign all vertical)
    6. With all instances of the symbol selected, click on "break the link.
    7. Updated text of characters of your choice
  • Why is the Menu on the main Page below the objects in other Pages?

    I added a menu on the master page by using the Composition called new featured widget and it remains behind other objects on normal pages.

    How can I fix it? Here are pictures of the menu when it is closed and when it is open.

    Untitled-1.jpg

    Untitled-2.jpg

    Make a new layer, which is by default placed above all other layers.

    Go to the master page, and then drag the menu this layer.

  • move the object left and right

    Hi, how are you all? I hope you all well...

    Now IAM trying to do more spells for the hero and this spell is the fireball

    I want to spend the time the hero is on the right also leave when the hero on the left

    I tried with this code when you press w it should move 10 or 20 px then it must stop

    but the fact of idont this step "then it must stop" because of this error as the fireball, call

    like I want to

    TypeError: Error #1010: a term is undefined and has no properties.

    Hero / onEnterFrame)

    Here is the code

    HERO class

    package {}


    import flash.display.MovieClip;

    import flash.events.KeyboardEvent;

    import flash.ui.Keyboard;

    import flash.events.Event;

    import flash.sensors.Accelerometer;
    import flash.media.Sound;
    import flash.media.SoundChannel;


    SerializableAttribute public class extends MovieClip {HERO
    var NIGHTJUNGLE:nightjungle = new nightjungle
    var ELECTRICALSHIELD:electricalshield = new electricalshield;

    var speed: int = 3;
    var fireballindex:Array = new Array
    var dir:int;
    var ELECTRICITY: electricity = new electricity;
    var SOUNDCHANNEL:SoundChannel = new SoundChannel
    var firespeed:int = 50
    var i: int
    public void HERO() {}

    addEventListener (Event.ADDED_TO_STAGE, onAddedToStage);

    }

    public void onAddedToStage(event:Event):void {}

    addEventListener (Event.ENTER_FRAME, onEnterFrame);

    stage.addEventListener (KeyboardEvent.KEY_DOWN, onKeyDown);

    stage.addEventListener (KeyboardEvent.KEY_UP, onKeyUp);


    SOUNDCHANNEL = NIGHTJUNGLE.play (1,1000)
    gotoAndStop (4);

    }

    public void onEnterFrame(event:Event):void {}

    x += dir * speed;
    {if (fireballindex [i] .stage)}
    .x += fireballindex [i] 1
    }

    }

    public void onKeyDown(event:KeyboardEvent):void {}

    If {(event.keyCode is Keyboard.RIGHT)

    gotoAndStop (2);

    dir = 1;
    Speed = 10
    If (ELECTRICALSHIELD.stage)
    addChild (ELECTRICALSHIELD)

    }


    If {(event.keyCode is Keyboard.LEFT)

    gotoAndStop (1);


    dir = - 1;
    Speed = 10
    If (ELECTRICALSHIELD.stage)
    addChild (ELECTRICALSHIELD)

    }

    If {(event.keyCode is Keyboard.UP)

    gotoAndStop (1);

    y = 10;

    }

    If {(event.keyCode is Keyboard.Q)

    Speed = 30;

    addChild (ELECTRICALSHIELD);
    SOUNDCHANNEL = ELECTRICITY.play)

    }
    If (event.keyCode == Keyboard.W) {}


    fireballindex.push (new fireball())

    addChild (fireballindex [i])
    fireballindex [i] .width = 50
    fireballindex [i] .x += firespeed * dir

    i ++
    trace (i)
    }
    If (event.keyCode == Keyboard.E) {}
    MovieClip (parent).aa.x = x + 100
    }
    }

    public void onKeyUp(event:KeyboardEvent):void {}

    If {(event.keyCode is Keyboard.Q)

    If {(ELECTRICALSHIELD.stage)

    removeChild (ELECTRICALSHIELD);
    If (SOUNDCHANNEL! = null)
    Speed = 0;
    SOUNDCHANNEL = ELECTRICITY.play (1,1)

    }

    }
    If {(event.keyCode is Keyboard.W)


    }

    If {(event.keyCode is Keyboard.LEFT)
    Speed = 0
    gotoAndStop (3);
    If (ELECTRICALSHIELD.stage)
    addChild (ELECTRICALSHIELD)

    } Else if (event.keyCode == Keyboard.RIGHT) {}
    Speed = 0
    gotoAndStop (4);
    If (ELECTRICALSHIELD.stage)
    addChild (ELECTRICALSHIELD)
    }

    }

    }

    }

    Thank you

    I would not use 'i' to target the object of the fireball.  In the case of the fireballs to withdraw at any time, that the value of i will be false.  The fireball that you add may not of fireballindex [i].

    If all the code that goes in the same neighborhood, then I declare the instance var name and use the name...

    var fBall:fireball = new fireball();

    fBall.name = "fb" + String (i)";

    fBall.width = 50;
    fBall.x += firespeed * dir;

    fireballindex.push (fBall);

    addChild (fBall);

    i ++ ;

    Later if you need to target this fireball, you can use the table or you can use its name.

    If you still want to use the non-var approach (I see no reason to) then instead of target

    fireballindex [i]

    I would target the last element added to the matrix who is definitiely going to be

    fireballindex [fireballindex. Length-1])

  • How do I move the layers to separate pages

    I have an Indesign CS5.5 document with a single page and several works on separate layers. I need to move each layer to another page and then to separate documents.

    Is there a quick way to do it, or a script that was written?

    Thank you, in advance.

    @Max

    For this we need a naming scheme for documents of different single page to save.

    But I fear now that I don't have time to put implement which.

    There are several scripts circulating on the web that can do it for you.

    See, for example, the following script, by Hans Haesler (split document):

    DokumentAufsplitten_512d.jsx

    (Mac version in German):

    X = http://www.fachhefte.ch/downloads.php?groupIDX=&OrderBy=name&sort=ASC&search_query=&Itemid & start = & limit = & read_category = 16 & page = 0 & downloadIDX = 651

    or (Windows version in German):

    X = http://www.fachhefte.ch/downloads.php?groupIDX=&OrderBy=name&sort=ASC&search_query=&Itemid & start = & limit = & read_category = 16 & page = 0 & downloadIDX = 655

    In case you do not understand the parameters of German here is a two step guide for your documents one page:

    1. Select the functionality appropriate for sharing pages (each page should become a document of its own):

    2. start the numbering of the pages with:

    If you want all single document in its own audit directory: 'article-Ordner ruler. "

    Uwe

  • Move the object object vs. copy

    OK, the assistants of the Illustrator, I have another puzzle - it is more often the case (more often) that when I call the command move what I really want to do is to copy the intended purpose x or y inches. The command move has a button for copying, but the default action is to move. Is it possible to change the default action to copy? or y at - it another command I should use? I would like a simple method to make the x - up for printing layouts.

    Thank you!!!

    -g-

    You could grab the object, press the alt key and move it. You can enter a new x-y-value or in the transform Panel, and then press alt + enter.

Maybe you are looking for

  • Quad dc5850 monitors: onboard video + video card

    I have a HP AMD minitour dc5850 and want to connect 4 monitors. I read here on the site of hp you can use the two onboard video (Dual DVI) and use an additional adapter (Dual DVI) to support a total of 4 (2 from dual onboard DVI) monitors and 2 doubl

  • you are short of space local disk (c)

    I use professional windows and have 97 gb disc (c) local. I installed mozilla, google chrome, drive usb, antivirus, and readers security media two and have the default microsoft products.but I get disc (c) local warns running out of space. It shows z

  • Can HP Compaq 6910p, I use the sim card housing for/as built in modem

    Hello I have the computer hp compaq 6910p laptop. This cell phone has a sim card slot. I have a SIM airtel (india), now I just want to establish an internet connection through this. Above shot shows the hardware details. Help me configure an internet

  • BlackBerry Smartphones to message notification on two icons?

    User of new bb here... I've just set up my bb to check personal emails. It works very well. However, when I receive a new email, I get email notification and a notification on the message icon. I want notifications by e-mail to inform its icon only..

  • CLI admin for nodes of the ise

    How CLI admins can be created for node ISE cisco?