Magnification of document properties defined in the script of the Page "adapt".

Hello

In the properties of the PDF document is it possible to upgrade the magification 'Fit to Page' with javascript?

I need to add this to a lot existing processing script.

I tried the following script that does not work:

this.zoomType = zoomtype.fitP;

Any help will be most appreciatied.

In a sequence of batch processing, you can change the initial view of a document.

Tags: Acrobat

Similar Questions

  • How can I convert an external CSS to all be defined in the page?

    I need to move all CSS must be defined in the page's head.  Is there an easy way to do it with the PCOC?

    In the external file, press Ctrl + A to select all, then Ctrl + C to copy it to the Clipboard. Add a tagset to yoursection and press Ctrl + P to stick together. I know DW can outsource the css code, but I don't think that there is a function to go the other way.

    In General, it is much better to use an external css file rather than using css well integrated. Is there a particular reason you want to move it?

  • Working as a muse when I right click I do not get the Properties menu of the Page, how can I change?

    Working as a muse when I right click I do not get the Properties menu of the Page, how can I change this?

    Hello

    What a click right on? Usually, you should be able to see the Page properties when you right click on the map view of a page, or you can also find properties page if you open the individual pages and then go to the Page-> Page Properties. However, if you are in map mode and you try to use the Page-> Page Properties, this does not work and the "Page Properties" option may be dimmed.

    I hope this helps.

    See you soon

    Parikshit

  • iCloud accessed via my Mac doesn't show the documents created and updated the pages on my iPad, even if the settings are correct all around.

    When I open the iCloud drive from my Mac (running Yosemite) documents created and more recently in the Pages on my iPad mini2 is no longer appear. I have re-checked the iCloud settings on the devices and the two seem to properly put in place.  There is no network problem.

    Try the settings/iCloud and remove the synchronization. Wait a few minutes and then resynchronize.

    Try to go into System Preferences/iCloud and stop synchronization. Wait a few minutes, then recheck the timing.

    Have you tried the signature to iCloud and then reconnect?

  • Cannot print - folder 'My documents' opens to save the page to TIFF

    Windows XP SP
    Firefox: 3.6.3
    For no apparent reason, when I want to print a Web page (if there are pictures, it opens the dialog "save under" and check the TIFF option (there is no other opt).) If I save it "Microsoft Office Picture Manager opens" and if I want to print the 'impression' Wizard opens.
    I can print the .pdf files.
    I can print from the internet explore.
    Finally I can't access the link "reset" on this Web site. (it says "timed out".
    The last update was in April (security update).

    I fixed the problem (of least temporarily)

    The line "Preference file" Firefox "print.print_printer (prefs.js) - printer name.
    Where (name = print.print_printer, and Value = name of the printer) had the value: "Microsoft Office Document Image Writer". (Which was incorrect).

    With Firefox closed, I replaced the value "Microsoft Office Document Image Writer" with: "Canon MP240 series Printer"and restarted. "

    If this applies to everyone, I copied the exact name of my printer (for the correction of value) in the Printers folder in Control Panel.

  • How to set the header properties custom for the JCA adapter

    Hello
    I need to pass DB connection information when executing BPEL to DB adapter. How can I do this?
    Aditya

    Published by: Aditya on May 4, 2012 16:42

    Hi Aditya,

    IMO, you shouldn't watch settings (to your DB). Instead, I would say, by the way information JNDI the runtime would be good enough for your condition. And Yes, the data sources must be configured on your server weblogic before "moving their dynamics" when running.

    You should find enough resources on the web that would guide you on dynamically configuring the jndi name.

    I hope this helps.

    See you soon!

  • vCloud Director 5.5 does not show all comments properties define in EGGS

    Hi all

    I work with a partner who is having a problem after the upgrade to 5.5 VCD

    Problem: vCloud Director 5.5 does not show all comments properties define in the OVA. Same EGGS has worked with vCloud Director 5.1

    Comment: When you create a new TIME by using the model from EGGS, all properties are displayed.

    But even if all of the properties have been shown at the time of the creation, that some have been observed when MISTLETOE was used to view existing comments properties

    Any thoughts?

    Thank you

    Florence

    This is a bug in VCD 5.5.0 and 5.5.1. It will be fixed in 5.5.2. If you can't wait for the fix so there is a /hotpatch. If you file a support request then GSS can give you the /hotpatch

  • Limits of document properties

    I've created PDFs from Word documents. Using Acrobat Pro and Javascript API I can add information on the description tab, properties of the Document for example title, author, subject and keywords. I am to convert our system and I was wondering if there is no character limit for the fields of Document properties? As the title must be less then 100 characters. I have searched the forum and google the web but found nothing. I guess there is no limit (that I need to worry), but thought I would ask.

    Laurent

    In the Acrobat family, all fields on the Properties tab of the main Document are limited to 1999 characters or less.

    On the custom properties tab fields are limited to 255 characters.

  • Cannot change the size of the Page using Document format

    I created a working document which is a long page, 800 px by 4000 px. It's a document that has grown as it has been assembled, and I would regularly change the page size by using document format to lengthen the page so I could make room for additional content.

    Now I'm trying to reduce the length of the page, because we have removed some of the content. I need to change the page size of 4000 px long 3380 long PX. I'm going to the preparation of the Document, type the new page size, click OK and nothing happens. I tried to resize the page to 6000 px, and nothing happens. I tried to resize the page of 2000 px, and nothing happens.

    Did somehow lock the page size? I can't understand this one out, and the representative of Adobe tech (in India) including support less on the problem I did.

    Help! I have a deadline...

    I'm on an iMac nine running OS 10.8.5; InDesign CS6 (8.0.1)

    Thank you!

    DG

    In InDesign CS6, you must choose the tool (3rd from the top) Page to change the size of the page.

  • Cross-references in the output PDF from Framemaker: how to center the Pages?

    I think I understand quite well the functioning of cross-references in Framemaker, but one thing that bothers me, it's how, when you generate a PDF from Framemaker file and clicking on a reference, the resulting page view locates the cross at the top of a page reference marker.

    It's very annoying and confusing when, say, referring to a figure of legend that appears at the bottom of a page. Page display that results when such a reference in a PDF document after Center the text of the _following_ page, with the text of the legend of the barely visible figure at the top of the page.

    My question: is it possible to build cross references that show the page, when you click in a PDF document, is centered on the page that displays the cross-reference material?

    Thank you very much.

    JMW

    Not AFAIK in FrameMaker.

    But in Acrobat, set the initial view one Page instead of continuous.

    File > properties > Initial View.

    Two upward (direction) and two up (cover Page) would also work.

  • Content horizontally on the page centering

    I can't my horizontal centering page content.

    When I open my web page (alimarietranslations.com) first of all everything is centered very well.

    But when I click on ' about me ' or 'contact' page scrolled down and is aligned with the left side.

    I have the box "Center horizontally" activated in the Site Properties.

    Thanks in advance!

    -Allison

    Try to check the anchor defined on the page, change those to the center of the page and preview and again.

    The page scrolls to anchor point when you click on it, if the anchor is configured with any nested content then Exchange cela and preview again.

    Thank you

    Sanjit

  • I am trying to print PDFS from Safari, but can not see the page numbers

    I just opened a document PDF 700 + pages in Safari and need to print the odd pages and there, but I can't see the page numbers displayed when I scroll the document. When I view the same document on an iPad, the page numbers change when I scroll but on my iMac (with the help of Safari 10) they appear not at all - and 700 + pages is a lot to go wrong! The clues how I can spend on 'display the page number?

    The default Apple PDF Internet plug-in used by Safari does not display the page numbers (except if they are in the footer of the PDF document in question), and there is no setting in Safari preferences to turn on this feature. Your best bet is to download the PDF file, then open it in preview or Acrobat Reader, where the thumbnails will be the correlation to page numbers. Then you can select several arbitrary thumbnails using the control button to print those selected pages. In the Pages section of the print Panel, you select "Selected Pages in the sidebar".

    The PDF Internet plug-in installed by Adobe Acrobat Reader or Pro displays the page current and total page in its turnaround Panel. If there are page numbers in the footer of the PDF file accessed, they are not deleted. You must enable Internet Adobe plug-in to Safari preferences: Security Panel.

  • Gap between the pages

    I have a document with pages on spreads. I want to have a space between pages. It's for a game of cards and I need space around it for the purge. I discovered that I have to use the page for that tool. However the value of x is grayed out so I am not able to resolve it. How can I fix?

    TIA

    Bernet

    turn off the Pages of a Document enable Shuffle (in the Pages palette)

    Turn off facing Pages (in paper format)

    your pages while remaining in the pasta to spread (but not really "raise")

    Select the left page of the spread

    Select the Page tool

    now the value x is active, you can adjust the location (for each Board), that is, move outside the other pages to make room for internal bleeding

  • Standardize the page to merged PDF sizes?

    Hello world

    I'm trying to fuse together a PowerPoint 07 ' and an Excel ' 07, both set to provisions of page A4 landscape, in Acrobat 9 Standard.  However, in the final merged PDF, the old Excel pages are huge compared to the PowerPoint presentation - about 6 times greater.

    Any ideas how I can force Adobe PDF merged into the same page size and orientation of output?

    Thanks in advance,

    Simon

    I had this same problem. I sent someone a document 8 pages to which they signed 2 and scanned and delivered. When I tried to replace these 2 pages in my original CD (giving me a document completed and signed) the pages that I have inserted were lower than those of the original.

    Follow THESE STEPS: the mouse on the left side of the bottom of the page in Adobe Acrobat format. You can see which pages are FALSE. In my case, it was the originals that were too big. I then printed them via the Adobe PDF printer. Select "fit to printable area" (check these dimensions which will be 8.5 x 11) when the document was printed in this way, it was easy to adapt to these other pages as they were now all the same size. Not to play with the zoom which is a nightmare.

  • Get the error not defined for the current document in the script

    I get a "error number: 2" "error string: myDoc is not defined" in my script.

    I modified a few scripts so that they cross my entire book and open each section (document) in my book, and run the code for each section.ext

    The code runs great and opens and closes the sections where it does not add links to text, but once, it opens a document and view text that you CAN add links, it generates this error.  Here is my code:

    main();
    exit();
    
    function main() {
        var myBook = app.activeBook,
                myDocs = myBook.bookContents.everyItem().getElements(),
                myDoc,
                myHyperlinkStyle,
                myCount = 0;
    
        for (var i=0; i< myDocs.length; i++) {
            myDoc = app.open(File("\\\\computerOnNetwork\\c$\\Folder\\" + myDocs[i].name));
            myHyperlinkStyle = myDoc.characterStyles.item("linkstyle");
    
            try {
                var script = app.activeScript;
            } catch(err) {
                var script = File(err.fileName);
            }
            var myScriptFolderPath = script.path;
            var myFindChangeFile = new File(myScriptFolderPath + "/SearchTextAndUrls.txt"); //mac path for users desktop //File.openDialog("Choose the file containing the tab separated list"); 
            //alert(myFindChangeFile)
            myFindChangeFile = File(myFindChangeFile);
            var myResult = myFindChangeFile.open("r", undefined, undefined);
            if(myResult == true){
                app.findTextPreferences = NothingEnum.nothing;
                app.changeTextPreferences = NothingEnum.nothing;
                //Loop through the find/change operations.
                do {
                    //read 1 line into myLine
                    myLine = myFindChangeFile.readln();
                    myFindChangeArray = myLine.split("\t");
    
                    //The first field in the line is the value to find 
                    myFindVal = myFindChangeArray[0];
    
                    // second is the url
                    myFindUrl = myFindChangeArray[1];
    
                    doSearchAndReplace(myFindVal, myFindUrl, app.activeDocument);
    
                } while(myFindChangeFile.eof == false);
                    myFindChangeFile.close();
                    // reset search
                    app.findTextPreferences = NothingEnum.nothing;
                    app.changeTextPreferences = NothingEnum.nothing;
            }
            alert("Done! " + myCount + " hyperlinks have been added.");
    
            myDoc.close();
        }
    }
    
    function doSearchAndReplace(stringfind, urlstring, searchin) {
        app.findTextPreferences.findWhat = stringfind;
    
        //Set the find options.
        app.findChangeTextOptions.caseSensitive = false;
        app.findChangeTextOptions.includeFootnotes = false;
        app.findChangeTextOptions.includeHiddenLayers = false;
        app.findChangeTextOptions.includeLockedLayersForFind = false;
        app.findChangeTextOptions.includeLockedStoriesForFind = false;
        app.findChangeTextOptions.includeMasterPages = false;
        app.findChangeTextOptions.wholeWord = false;
    
        var myFoundItems = searchin.findText();
    
        for (i = 0; i < myFoundItems.length; i++) {
            var myHyperlinkDestination = myMakeURLHyperlinkDestination(urlstring);
            myMakeHyperlink(myFoundItems[i], myHyperlinkDestination);
            myFoundItems[i].applyCharacterStyle(myHyperlinkStyle, false);
            myCount++
        }
    }
    
    function myMakeHyperlink(myFoundItem, myHyperlinkDestination){
        try {
            var myHyperlinkTextSource = myDoc.hyperlinkTextSources.add(myFoundItem);
            var myHyperlink = myDoc.hyperlinks.add(myHyperlinkTextSource, myHyperlinkDestination);
            myHyperlink.visible = false;
        }
        catch(myError){
        }
    }
    
    function myMakeURLHyperlinkDestination(myURL){
        //If the hyperlink destination already exists, use it;
        //if it doesn't, then create it.
        try{
            var myHyperlinkDestination = myDoc.hyperlinkURLDestinations.item(myURL);
            myHyperlinkDestination.name;
        }
        catch(myError){
            myHyperlinkDestination = myDoc.hyperlinkURLDestinations.add(myURL);
        }
        myHyperlinkDestination.name = myURL;
    
        //Set other hyperlink properties here, if necessary.
        return myHyperlinkDestination;
    }
    

    Any help is greatly appreciated!

    That ends up being my fixed/final code:

    main();
    exit();
    
    function main() {
        var myBook = app.activeBook,
                myDocs = myBook.bookContents.everyItem().getElements(),
                myDoc,
                myHyperlinkStyle;
    
        for (var i=0; i< myDocs.length; i++) {
            myDoc = app.open(File("\\\\computerOnNetwork\\c$\\Folder\\" + myDocs[i].name));
            myHyperlinkStyle = myDoc.characterStyles.item("linkstyle");
    
            try {
                var script = app.activeScript;
            } catch(err) {
                var script = File(err.fileName);
            }
            var myScriptFolderPath = script.path;
            var myFindChangeFile = new File(myScriptFolderPath + "/SearchTextAndUrls.txt"); //mac path for users desktop //File.openDialog("Choose the file containing the tab separated list");
            //alert(myFindChangeFile)
            myFindChangeFile = File(myFindChangeFile);
            var myResult = myFindChangeFile.open("r", undefined, undefined);
            if(myResult == true){
                app.findTextPreferences = NothingEnum.nothing;
                app.changeTextPreferences = NothingEnum.nothing;
                //Loop through the find/change operations.
                do {
                    //read 1 line into myLine
                    myLine = myFindChangeFile.readln();
                    myFindChangeArray = myLine.split("\t");
    
                    //The first field in the line is the value to find
                    myFindVal = myFindChangeArray[0];
    
                    // second is the url
                    myFindUrl = myFindChangeArray[1];
    
                    doSearchAndReplace(myFindVal, myFindUrl, app.activeDocument, myDoc, myHyperlinkStyle);
    
                } while(myFindChangeFile.eof == false);
                    myFindChangeFile.close();
                    // reset search
                    app.findTextPreferences = NothingEnum.nothing;
                    app.changeTextPreferences = NothingEnum.nothing;
            }
            alert("Done! Hyperlinks have been added.");
    
            myDoc.close();
        }
    }
    
    function doSearchAndReplace(stringfind, urlstring, searchin, myDoc, myHyperlinkStyle) {
        app.findTextPreferences.findWhat = stringfind;
    
        //Set the find options.
        app.findChangeTextOptions.caseSensitive = false;
        app.findChangeTextOptions.includeFootnotes = false;
        app.findChangeTextOptions.includeHiddenLayers = false;
        app.findChangeTextOptions.includeLockedLayersForFind = false;
        app.findChangeTextOptions.includeLockedStoriesForFind = false;
        app.findChangeTextOptions.includeMasterPages = false;
        app.findChangeTextOptions.wholeWord = false;
    
        var myFoundItems = searchin.findText();
    
        for (i = 0; i < myFoundItems.length; i++) {
            var myHyperlinkDestination = myMakeURLHyperlinkDestination(urlstring, myDoc);
            myMakeHyperlink(myFoundItems[i], myHyperlinkDestination, myDoc);
            myFoundItems[i].applyCharacterStyle(myHyperlinkStyle, false);
        }
    }
    
    function myMakeHyperlink(myFoundItem, myHyperlinkDestination, myDoc){
        try {
            var myHyperlinkTextSource = myDoc.hyperlinkTextSources.add(myFoundItem);
            var myHyperlink = myDoc.hyperlinks.add(myHyperlinkTextSource, myHyperlinkDestination);
            myHyperlink.visible = false;
        }
        catch(myError){
        }
    }
    
    function myMakeURLHyperlinkDestination(myURL, myDoc){
        //If the hyperlink destination already exists, use it;
        //if it doesn't, then create it.
        try{
            var myHyperlinkDestination = myDoc.hyperlinkURLDestinations.item(myURL);
            myHyperlinkDestination.name;
        }
        catch(myError){
            myHyperlinkDestination = myDoc.hyperlinkURLDestinations.add(myURL);
        }
        myHyperlinkDestination.name = myURL;
    
        //Set other hyperlink properties here, if necessary.
        return myHyperlinkDestination;
    }
    

Maybe you are looking for