Cannot export interactive pdf via javascript

Hi we are generating PDF with the link url in it, if we want to use type PDF interactive to export our PDF via javascript, however, when we use below the function exportfile, it throws error:

DOC.exportFile (ExportFormat.INTERACTIVE_PDF, leader (pdfFile));

Output console: result: Script Exception: object does not support the property or method 'INTERACTIVE_PDF '.

We use CS5.5 (7.5) and it works when changing ExportFormat to:

DOC.exportFile (ExportFormat.pdfType, File (pdfFile));

Please help.thank you.

Make sure your app.scriptPreferences.version is set on CS5.5 (= 7.5)

Tags: InDesign

Similar Questions

  • Export interactive PDF

    Hello! I am trying to create an interactive PDF using InDesign CS5. I need to create buttons to link to specific pages in the PDF file, but every time I export I get say error message 'the go to Page button action is not taken in charge in format PDF. The appearance of the button will be preserved, but its interactivity will be abandoned "." I already have it exported in Adobe PDF (Interactive) and cannot find any solution that worked online. Any help is greatly appreciated!

    Use the hyperlinks Panel (I remember it is combined with cross-references in CS5). It would be window > Interactive > hyperlinks. Go to the page that you want to access with the touch. In the hyperlinks Panel menu, choose the new Destination of the hyperlink. In the new Destination of the Hyperlink dialog box, select Type: Page. Make sure that your current page is selected, and then click OK.

    Return to your button and how to choose your action to go to destination and select the destination of your creation.

  • ID CS5.5 export interactive PDF as single pages, no spreads

    I read the instructions wrong? I have a 116 page book. When I export to PDF for printing, it exports correctly, showing a page at a time. When I export to interactive PDF, pages come out as single large pages, and I find myself with a book of 58 pages in landscape format. I tried all the settings. Yes, I chose 'single page' in the area of the layout (if I select 'Two up', I find myself with 4 pages on the screen).

    Advice? I don't know I'm missing something obvious. Thank you.

    What attracts almost everyone by surprise. It's actually by design, but judging by the posts here not necessarily the best design decision. There are two ways to address this via script. Active / disables the export function extends offshore for interactive PDF export (see Interactive PDF from InDesign CS5 always a extends on |) InDesignSecrets).

    Another method is to divide the "spreads" before exporting it ("see InDesignSecrets" Blog Archive"Breaking Pages Apart to bleed off the coast a thorn and http://www.printisrael.com/indesign/scripts/freeware/SeparatePages.jsx).

    Make sure you read all the comments in the two articles. If you are unsure how to install a script, see How to install scripts in InDesign | InDesignSecrets

  • Export interactive PDF in indesign, with the animation of the edge to the SWF file?

    Hello

    I have an interactive pdf in indesign with animation, works very well when they are exported to the swf file.

    I need to use more complex animations that Indesign has, so I created some new features of Adobe Edge animate, exported save them as a file .oam and then put them in the Indesign file.

    If I use the Preview on the animation tab I see indesign animations and the edge, but if I export it to a SWF file is - this only animation to indesign working, and if I export to epub file is only the edge animation work.

    Somehow it is possible to export so that the two works of animation types. and it is possible to do it in a SWF file.

    I have Creative Cloud 2014 for both programs

    Thank you!

    NO.

  • Numbers - cannot export to PDF

    MacBook pro OS X Yosemite 10.10.5

    I have the 08 numbers version 1.0.3

    I'm more able to export numbers in pdf or excel format.  I save the file/worksheet in numbers, then export to pdf or excel format.  When I do this I get the following message is displayed "the export failed.  The selected file or location (drive or directory) is read-only.

    I created new calculation sheets in case there is a bug in the original file.  Same message.

    I tried to create, and then record the Numbers worksheets in different folders and then export - same message.

    I can export Pages documents in the folders where it has failed with numbers - if this isn't a problem with the files.

    I have been exporting documents of numbers as pdf for centuries.  The last I did successfully was 6 weeks ago - I think not I changed my settings to cause this problem.

    I went to disk utilities - these are the results.  Made no difference.

    Checking permissions for 'Macintosh HD' permissions differ on "Applications/Safari.app/Contents/MacOS/SafariForWebKitDevelopment"; should be - rwxr-xr-x; they are lrwxr-xr-x. WARNING: SUID "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" file has been modified and will not be repaired. Permissions differ on "Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources/inde x.html." should be lrwxr-xr-x; they are - rwxr-xr-x. Group differs on "Library/Printers/InstalledPrinters.plist"; should be 80; Group is that 0 permissions differ on "Library/Printers/InstalledPrinters.plist"; should be - rw-rw-rw. they are - rw - r - r-. The user is different on "private/var/db/displaypolicyd"; should be 0; the user is 244.la group differs on "private/var/db/displaypolicyd"; should be 0; Group is 244.

    Permissions verification complete

    Permissions for 'Macintosh HD' repair permissions differ on "Applications/Safari.app/Contents/MacOS/SafariForWebKitDevelopment"; should be - rwxr-xr-x; they are lrwxr-xr-x. Fixed "Applications/Safari.app/Contents/MacOS/SafariForWebKitDevelopment"Warning: the SUID "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" file has been modified and will not be repaired. " Permissions differ on "Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources/inde x.html." should be lrwxr-xr-x; they are - rwxr-xr-x. Fixed "Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources/inde x.html" Group differs on "Library/Printers/InstalledPrinters.plist"; ". should be 80; Group is that 0 permissions differ on "Library/Printers/InstalledPrinters.plist"; should be - rw-rw-rw. they are - rw - r - r-. Fixed "Library/Printers/InstalledPrinters.plist"User differs on "private/var/db/displaypolicyd '; should be 0; the user is 244.la group differs on "private/var/db/displaypolicyd"; should be 0; the group is 244.la repaired ' private/var/db/displaypolicyd.

    Repair of full permissions

    Check the volume "Macintosh HD" audit storage systemChecking volumedisk0s2: Scan for Volume Headersdisk0s2: Scan for disk LabelsLogical Volume 5BBB4053-DA91-41DA-8220-C03D85B05309 on 1 devicedisk0s2 group: Scan for metadata VolumeLogical Volume Group has a Volume of metadata 24 MB with double redundancyStart analysis metadata for a valid checkpointLoad and check the Segment HeadersLoad and check PayloadLoad Checkpoint and check the Transaction SegmentIncorporate 0 most recent control point of no transactionsLoad and check virtual address TableLoad and check the Segment use TableLoad and check the SuperblockLoad metadata and check LVM Volumes B-TreesLogical group contains 1 logical VolumeLoad and check 7E6DBD55-A11C-4CE1-9716-9C2C68D2C8D7Load and check 57F89C23-B45D-40F4-9144-3FE7E96F159DLoad and check Freespace SummaryLoad and check the AccountingLoad block and check Live Virtual AddressesNewest transaction commit handle is validLoad and check the volume 5BBB4053-DA91-41DA-8220-C03D85B05309 hand Segment seems to be OKStorage system check exit code is 0 checking file system. Using the live mode. Perform direct verification. HFS volume logged more control. Check the catalog hierarchy. Check the extended attribute file. File system check exit code is 0.

    Hello robyn anne,.

    Thank you for using communities of Apple Support.

    I understand your message that you are not able to export a Numbers spreadsheet to a PDF document. I know how it is important for you to be able to export your spreadsheets in the format you prefer. I recommend that you test the issue in Safe Mode and also in an another user account on your MacBook Pro. The following articles will provide you with steps on how to restart your Mac in Mode safe mode and test the issue in a different user account:

    Safe mode

    How to test a question in another user on your Mac account

    Best regards

  • Adding text to PDF via Javascript flattenable

    Adobe dear Experts,

    I tried to add text to a PDF through JavaScript for the last 4 hours. I got the hang of several guides to Adobe's JavaScript. I looked at in-depth entirely but can not solve this problem: adding a box to text/text to a page using JavaScript and to PDF and then flatten it with success.

    I have been using the addField with flattened option but when text the text box disappears. I'll try to mess around with the button option and try to flatten but I'm tired of any bugs

    Here is my code:

    var f = this.addField("info", "text", 0, [5,5, 250,25]);
    f.delay = true;
    f.alignment = "center";
    f.fillColor = color.white;
    f.lineWidth = 1;
    f.strokeColor = color.red;
    f.borderStyle = style.s;
    f.textSize = 24;
    f.textColor = color.black;
    f.textFont = font.Arial;
    f.defaultValue = "Receive Stamp";
    f.editable = false;
    f.multiline = false;
    f.doNotScroll = true;
    f.delay = false;
    

    Any help would be appreciated,

    Nice day

    There is an error in your code, which prevents the value to be defined.

    You are running this code from the JS Console? If so, what happens when you run?

    Edit: There is more than one error, in fact...

  • Need help, cannot export a pdf from indesign cs5

    Hello I used indesign several times so that exported this work in 2015, I've updated this 36 page book this year and I can't export the pdf file, I get no error, the background window does not move, I have every time to leave indesign, I can export indd. as jpg but not my indesign file in a pdf print ready, any ideas? I don't do anything different than normal (I think), thank you so much Cindy

    What happens with any document or just this one?

    Here is another approach:

    Gather all your linked files and fonts help

    file-> package.

    and save it to another drive.

    Frome, open the indd file in the folder of the package and try to export PDFs.

    Let us know if it works

  • Cannot export the PDF file into WORD Doc (that I just bought) system allows me to choose which PDF file but is grayed out in the area where is located the "Convert" button - so no activity.  I want to be sure that my order was confirmed the e-mail address

    RE: ORDER NUMBER: ADO18068065

    I just bought your program Adobe Export PDF but does not - Adobe allows me to capture what PDF I want to export - but won't let me DO NOT convert the file (the window to see where the PDF export is grayed out and I can't enter anything).  Can I entered an incorrect email when I signed firstly for the export of Adobe program ([email protected] INSTEAD of Correct e-mail address: [email protected] could you go to see if the order went through because your window opens each time I try to export a PDF file to WORD asking me to buy the program Adobe export again. )

    Thanks - Pls email me at: [email protected] with your answer.  

    Hi constancew92438621,

    Make sure that you have installed the last DC of Adobe Acrobat Reader Acrobat Reader DC Learn & Support to use the service to export it to PDF help of Acrobat Reader | Export PDF to Acrobat Reader DC.

    You can also use this service online at https://cloud.acrobat.com/exportpdf

    Let me know if you have still any problem?

    Kind regards

    Nicos

  • Hyperlink problem when you export to PDF using Javascript

    From an INDD file, my script changes the texts of the product to the hyperlinks number.  I find them using findTextPreferences, then I add this url before the product numbers:

    ".. /Products.jsp/prodnum="+ ProductNumber;

    Then I export it in PDF format.  When a mouse user on several products, they can click on it and go to the above page.

    The problem is when I export to PDF, there are spaces before and after the number of the product.  example:

    ".. /Products.jsp/prodnum=%205674-897%20 ".

    To check where the spaces are coming from, I've added alerts on my script, but there is no space on my alerts, only when it is exported spaces will appear on the product numbers.

    You will need to find a way to remove the spaces from the product numbers.  I tried many things such as replace, I created a trim function, paintings, all concatenated product to 1 variable numbers then used substring.  The expected result is:

    ".. /Products.jsp/prodnum=5674-897 ".

    Thanks in advance guys, I hope you can help.

    Using ExtendScript Toolkit CS5 and Adobe InDesign CS5.

    Maybe the game can help here:

    "../products.jsp/prodnum=" + ProductNumber.match(/\d+\-\d+/);
    

    --

    tomaxxi

    http://indisnip.WordPress.com/

  • Cannot export to PDF - need help in the understanding of the advice of adobe

    my indesign document could not export to PDF, so I looked upward to indesign help - see below; I couldn't find where to go after point 2 / would anyone help?

    Thank you


    Solution 2: Downsample the images after you export using Acrobat.
    1. Choose file > export and select PDF as the format, choose a location and click Save.
    2. In the export to PDF dialog box, clear the options for downsampling images.
    3. Open the PDF in Acrobat.
    4. Choose Advanced Options > optimization PDF.
    5. Set the options for downsampling in the settings of the Image pane.
    6. Disable all other options that are not needed.
    7. Click OK, and then choose the name and location to save the file.

    One thing that might help is to do a Save AS before try to export, which will remove old information to cancel and reduce the size of the file (don't forget that you have nothing that you really need to cancel first).

    This error can be caused by low memory or disk space, too. What is your operating system, the amount of RAM and how much free space on your hard drive?

  • Export interactive PDF in CS5.5 problems

    When I try to use my old settings PDF of CS4 my interactive elements do not work. See the figure below.

    Screen shot 2011-08-26 at 16.37.48.png

    I am able to export successfully by pressing command-E and by choosing Adobe PDF (Interactive), but images, at least in the first example, I chose, not correctly reproduce in the PDF file. See comparison of original created in CS4 (left) and the CS5.5 version (right):

    Screen shot 2011-08-26 at 16.42.37.png
    Anyone has any ideas how to solve this problem?

    I use Acrobat X and system 10.6.8

    I found the answer to this problem myself!

    Because the interactive parameter does not support being kept spot colors causes problems with Illustrator RGB files that have been implemented using a spot color. Well, you can ask why you want the spot colors in Illustrator RGB file. Well, it is to keep all intact Lab values, but you cannot have all the points used in this way to work around the problem of color PDF.

  • Cannot export the report via MaxL script

    Hello

    IM only running the following MaxL script, but I cannot get it to generate the report file.
    "
    database export 'realtest'.' LoadTest'
    using fichier_de_rapport 'Exp09.rep '.
    of data_file '\\nkm18e83\\logs2\\Realbud\\reperr.txt ';
    "
    Does anyone have an idea? Its the same syntax that I use when I write an error report...

    Any help would be appreciated.

    In fact, it will run without specifying the player to exit from. (at least in a batch script it does)

    I'm guessing that it generates for the drive on which you run for?

  • Error generating content. [Cannot export the PDF file.]

    Hello

    I tried to create a file of folio using PDF as the format of the article, but I get this message every time.

    There is no explanation of what is wrong in the file. It's extremely frustrating.

    I'm having the same problem, im working on the latest version of Id CC.

    I tried to delete some items until I found that generated the problem.

    I hope this helps.

    M

  • Nonprinting buttons appearing in the wrong order when you export to interactive PDF!

    I am a customizable holiday gift certificate creating generic view on our website for download. I create using InDesign CS6. The idea is that the interactive PDF can be opened in the reader, one of the six charts of certificate can be selected (via the radial buttons that hide/show graphics that have been converted into buttons), and various text fields can be filled in. Then, the certificate can be printed and cropped. I have all the interactive elements, works very well, including the "print" key. The interactive PDF looks like this:

    Waste_Free_Certificates_correct.jpg

    However, when printing, I would ONLY the certificates and the fields of text to print and not the instructions, header, or radial buttons selection certificate or full color, background. The point of this is so that the user doesn't lose the ink. I want to print like this:

    Waste_Free_Certificates_printed.jpg

    At first I tried to make nonprinting objects, but which also shows them not when exported to interactive PDF. I then tried the same thing by putting on another layer and uncheck "print layer" (but check "show layer"), but I came across the same result. After searching the forums, I discovered that the only way to make these nonprinting elements, yet still visible in the interactive PDF, is to convert each object to a button and then uncheck the "Printable" box in the window buttons and forms. I did, and now everything seems to work fine...

    Except that when you export, export buttons in order of stacking poorly, like this:

    Waste_Free_Certificates_wrong.jpg

    This color background continues to go on in front of all the rest. Even if I put it on it's very own layer under layer with all other charts (converted to buttons) on this subject, he always appears in front of all the other buttons. It is the same whether or not I have check the box create Acrobat layers. What the devil I'm doing wrong?

    http://InDesignSecrets.com/stacking-order-bug-exporting-interactive-PDF.php

  • Cannot export PDF

    I use Photoshop elements 11. I can't export to PDF (via the menu export or save as...) I just installed the newest Adobe (DC) drive. Why does this work? I will not buy a newer Adobe photoshop.

    What operating system do you use?

    When you go on file > save under, you do not see listed in the drop-down list Format Photoshop PDF ?

Maybe you are looking for